Jabir bin Abdullah reported,

The Messenger of Allah ﷺ said, "When a man retires to his bed, an angel and a devil come to him. The angel says, 'Close your day with good,' and the devil says, 'Close it with evil.' If he remembers Allah and then sleeps, the angels spend the night guarding him. When he wakes, the angel says, 'Open your day with good,' and the devil says, 'Open it with evil.' So if he says, 'Praise be to Allah, who has returned my soul to me and did not cause it to die in its sleep. Praise be to Allah, who "holds the heavens and the earth, lest they cease to exist. And if they should cease, no one could hold them after Him. Indeed, He is Forbearing and Forgiving" [Fatir 35:41]. Praise be to Allah, who holds back the sky from falling upon the earth except by His permission,' then should he fall from his bed and die, he will enter Paradise."

Azami 11261

Hasan

عن جابر

أن رسول الله ﷺ قال: إذا أوى الرجل إلى فراشه أتاه ملك وشيطان، فيقول الملك: اختم بخير، ويقول الشيطان: اختم بشر، فإن ذكر الله، ثم نام، باتت الملائكة تكلؤه، فإن استيقظ قال الملك: افتح بخير، وقال الشيطان: افتح بشر، فإن قال: الحمد لله الذي رد علي نفسي ولم يمتها في منامها، الحمد لله الذي{يمسك السموات والأرض أن تزولا ولئن زالتا إن أمسكهما من أحد من بعده إنه كان حليما غفورا}. الحمد لله الذي يمسك السماء أن تقع على الأرض إلا بإذنه، فإن وقع من سريره فمات دخل الجنة.

الأعظمي 11261حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Morning and evening supplications
Section
Supplications and remembrances narrated when going to sleep and when waking up
Numbering
Jami al-Kamil 11261 (2nd edition)
Azami 11261