Hadithcore
Riyad as-Salihin, 1446

Hudhaifah and Abu Dharr (May Allah be pleased with him) reported:

Whenever the Messenger of Allah (ﷺ) went to bed, he would supplicate: "Bismika-Allahumma amut wa ahya (With Your Name, O Allah, I die and return to life)"; and when he woke up, he would supplicate thus: "Al-hamdu lillahilladhi ahyana ba'da ma amatana, wa ilaihin-nushur (All praise belongs to Allah Who has restored us back to life after causing us to die; and to Him shall we return)." [Al-Bukhari]

عن حذيفة، وأبي ذر رضي الله عنهما قالا‏:‏ كان رسول الله صلى الله عليه وسلم إذا أوى إلى فراشه قال‏:‏ ‏"‏باسمك اللهم أموت وأحيا‏"‏ وإذا استيقظ قال‏:‏ ‏"‏الحمد لله الذي أحيانا بعد ما أماتنا وإليه النشور‏"‏ ‏(‏‏(‏رواه البخاري‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Book 15, Hadith 39
Sharh · explanationclick to expand
<b>Guidance from the Hadiths:</b><br> 1) This Dhikr suits the occasion of going to bed because sleep is a minor form of death, so waking up from it reminds the slave of resurrection from the major death. This increases the one’s belief in resurrection, so that he would always have it present in his mind.<br> 2) It is out of Allah’s favor upon His slaves that He legislated for them Dhikr to be said in every occasion of their lives, whereby all their times would be filled with remembrance or Allah.
Related hadiths6
Compare isnād across 6 related chains →