HAKIM 1170:
from Abū Kurayb And Mūsá b. ʿAbd al-Raḥman al-Masrūqī —
[Machine] The Prophet ﷺ said, "Whoever goes to bed intending to stand (in prayer) during the night, but his eyes overpower him (i.e., he falls asleep) until morning, then his intention will be recorded for him, and his sleep will be a charity from his Lord."
الحاكم ١١٧٠:
عن ابو كريب و موسى بن عبد الرحمن المسروقي —
النَّبِيَّ ﷺ قَالَ «مَنْ أَتَى فِرَاشَهُ وَهُوَ يَنْوِي أَنْ يَقُومَ بِاللَّيْلِ فَغَلَبَتْهُ عَيْنُهُ حَتَّى يُصْبِحَ كُتِبَ لَهُ مَا نَوَى وَكَانَ نَوْمُهُ صَدَقَةً عَلَيْهِ صَدَقَةً مِنْ رَبِّهِ»
hadithunlocked.com