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.
darimi:1439Saʿīd b. al-Mughīrah > Muʿtamir > Dāwud b. Abū Hind > Abū Ḥarb b. Abū al-Aswad al-Diʾulī from his uncle > Abū Dhar > Atānī Nabī Allāh ﷺ

[Machine] The Prophet ﷺ came to me while I was sleeping in the mosque and he hit me with his foot. He said, "Don't you see that you are sleeping here?" I said, "O Prophet of Allah, sleepiness overpowered my eyes."  

الدارمي:١٤٣٩حَدَّثَنَا سَعِيدُ بْنُ الْمُغِيرَةِ حَدَّثَنَا مُعْتَمِرٌ عَنْ دَاوُدَ بْنِ أَبِي هِنْدٍ عَنْ أَبِي حَرْبِ بْنِ أَبِي الْأَسْوَدِ الدِّؤُلِيِّ عَنْ عَمِّهِ عَنْ أَبِي ذَرٍّ قَالَ

أَتَانِي نَبِيُّ اللَّهِ ﷺ وَأَنَا نَائِمٌ فِي الْمَسْجِدِ فَضَرَبَنِي بِرِجْلِهِ قَالَ «أَلَا أَرَاكَ نَائِمًا فِيهِ؟» قُلْتُ يَا نَبِيَّ اللَّهِ غَلَبَتْنِي عَيْنِي