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."
أن رسول الله ﷺ قال: إذا أوى الرجل إلى فراشه أتاه ملك وشيطان، فيقول الملك: اختم بخير، ويقول الشيطان: اختم بشر، فإن ذكر الله، ثم نام، باتت الملائكة تكلؤه، فإن استيقظ قال الملك: افتح بخير، وقال الشيطان: افتح بشر، فإن قال: الحمد لله الذي رد علي نفسي ولم يمتها في منامها، الحمد لله الذي{يمسك السموات والأرض أن تزولا ولئن زالتا إن أمسكهما من أحد من بعده إنه كان حليما غفورا}. الحمد لله الذي يمسك السماء أن تقع على الأرض إلا بإذنه، فإن وقع من سريره فمات دخل الجنة.
Abu Yaala (1791) reported it, and from him Ibn Hibban (5533), and Nasai in Kubra (378), both through the routes of Ibrahim bin Hajjaj bin Zayd Sami, who said, Hammad bin Salama narrated to us, from Hajjaj Sawwaf, from Abu Zubayr, from Jabir, who said, and he mentioned it.Its chain is hasan because of Abu Zubayr Muhammad bin Muslim bin Tadrus, for he is hasan al-hadith. Ibn Hajar also graded it hasan in Amali Halabiyyah (p. 26). Haythami said in Majma (10/120), "Abu Yaala reported it, and its narrators are the narrators of the Sahih, except for Ibrahim bin Hajjaj Sami, and he is trustworthy."I say, it is as he said. Ibn Hibban mentioned him among the trustworthy narrators, and Daraqutni declared him trustworthy.On this subject there is also a narration from Irbad bin Sariya, that the Messenger of Allah ﷺ used to recite the musabbihat (the surahs beginning with the glorification of Allah) before he lay down to sleep, and said, "Among them is a verse better than a thousand verses." Abu Dawud (5057) reported it, and Tirmidhi (2292/1), and Ahmad (17160), and Nasai in Amal al-Yawm wal-Layla (713, 714), all of them through the route of Baqiya bin Walid, from Buhayr bin Saad, from Khalid bin Madan, from Abdullah bin Abu Bilal, from Irbad bin Sariya, and he mentioned it.Tirmidhi said, "This is a hasan gharib hadith."I say, in its chain is Abdullah bin Abu Bilal, for whom no narrator is mentioned other than Khalid bin Madan, and I did not find anyone who declared him trustworthy, except that Ibn Hibban mentioned him among his trustworthy narrators. For this reason Ibn Hajar said in Taqrib, "Acceptable," meaning when corroborated, and I did not find any corroboration for him, so he is layyin al-hadith (weak in hadith).Baqiya bin Walid is a mudallis, however he explicitly stated that he heard it directly in the narration recorded by Imam Ahmad. But Muawiya bin Salih opposed him, reporting it from Buhayr, from Khalid bin Madan, who said, "The Messenger of Allah ﷺ would not sleep until he had recited the musabbihat," as a mursal narration. Nasai recorded this narration in Amal al-Yawm wal-Layla (715).Ibn Hajar preferred the mursal narration in Nataij Afkar (3/64), saying, "The narration of Muawiya is more firmly established than the narration of Baqiya," even though he had graded his hadith hasan before this.His saying "the musabbihat" means the surahs that begin with the glorification of Allah, and they are six, Surah Hadid, Hashr, Saff, Jumuah, Taghabun, and Ala.As for what has been narrated from Shaddad bin Aws, who said, the Messenger of Allah ﷺ said, "There is no Muslim who takes to his resting place and recites a surah from the Book of Allah, except that Allah assigns to him an angel, so that nothing that could harm him comes near him," its chain is daif.Tirmidhi (3407m) reported it through the route of Sufyan (he is Thawri), and Ahmad (17132) from Yazid bin Harun, and Nasai in Amal al-Yawm wal-Layla (812) through the route of Hilal bin Haq, all of them from Abu Masud Jareeri, from Abu Ala bin Shakhir, from a man from Banu Hanzala, from Shaddad bin Aws, and he mentioned it.Tirmidhi said, "This is a hadith that we know only from this route."I say, in its chain is "a man from Banu Hanzala," and in some sources, "two men from Banu Hanzala," and in some other sources, "Hanzali." He is an unidentified narrator, unknown.Abu Saeed Jareiri is Saeed bin Iyas, and he became confused in his narrations later in life, but Thawri's hearing from him was before this confusion set in.Nawawi declared its chain daif in Azkar.