Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad-zuhd:878ʿAbdullāh from my father > Abū Muʿāwiyah > al-Aʿmash > ʿUmārah > ʿAbd al-Raḥman b. Yazīd > ʿAbdullāh

[Machine] No man sleeps without mentioning Allah except that Satan comes and urinates in his ears. I swear by Allah, your companion has surely done this to himself tonight.  

الزهد لأحمد:٨٧٨حَدَّثَنَا عَبْدُ اللَّهِ حَدَّثَنَا أَبِي حَدَّثَنَا أَبُو مُعَاوِيَةَ حَدَّثَنَا الْأَعْمَشُ عَنْ عُمَارَةَ عَنْ عَبْدِ الرَّحْمَنِ بْنِ يَزِيدَ عَنْ عَبْدِ اللَّهِ قَالَ

مَا مِنْ رَجُلٍ يَنَامُ لَا يَذْكُرُ اللَّهَ ﷻ إِلَّا بَالَ الشَّيْطَانُ فِي أُذُنِهِ وَايْمُ اللَّهِ لَقَدْ فَعَلَ بِصَاحِبِكُمُ اللَّيْلَةَ يَعْنِي نَفْسَهُ