الْأَدَبُ الْمُفْرَدُ
Al-Adab al-Mufrad 1205
Sleep and night lodging
حَدَّثَنَا قَبِيصَةُ، وَأَبُو نُعَيْمٍ، قَالاَ: حَدَّثَنَا سُفْيَانُ، عَنْ عَبْدِ الْمَلِكِ بْنِ عُمَيْرٍ، عَنْ رِبْعِيِّ بْنِ حِرَاشٍ، عَنْ حُذَيْفَةَ قَالَ: كَانَ النَّبِيُّ صلى الله عليه وسلم إِذَا أَرَادَ أَنْ يَنَامَ قَالَ: بِاسْمِكَ اللَّهُمَّ أَمُوتُ وَأَحْيَا، وَإِذَا اسْتَيْقَظَ مِنْ مَنَامِهِ قَالَ: الْحَمْدُ لِلَّهِ الَّذِي أَحْيَانَا بَعْدَ مَا أَمَاتَنَا وَإِلَيْهِ النُّشُورُ.
Hudhayfa said, "When the Prophet, (ﷺ), wanted to go to sleep, he said, 'By Your Name, O Allah, I die and live.' When he woke up, he said, 'Praise be to Allah who gave us life after He made us die, and to Him is the gathering.'"
Sunnah.com reference: Book 1, Hadith 1Sahih (Al-Albani)صـحـيـح (الألباني)