From Sahih Muslim (Hadith 1817):
Abdullah (b. Mas'ud) reported that a mention was made of a man who slept the whole night till morning. He (the Holy Prophet) remarked:That is a man in whose ears (or in whose ear) the devil urinated
Reference: Muslim 1817