Danny Phantom - Season 3 Episode 9 Frightmare
Overview: Danny wakes up wearing a strange headset in the Ghost Zone. He returns to Amity Park and discovers everyone is asleep thanks to the ghost of sleep, Nocturne, who is sucking up their dreams to increase his energy. Danny must wake his friends and sister in order to stop this threat.