It wasnarrated that Abu Darda' conveyed that the Prophet (ﷺ) said:
"Whoever goes to bed intending to wake up and pray during thenight,but is overwhelmed by sleep until morning comes, what heintended willbe recorded for him, and his sleep is a charity givento him by hisLord." (DE)
English reference (DE): Vol. 1, Book 5, Hadith 1344 (DE)
Arabic reference (DE): Book 5, Hadith 1405 (DE)