حَدَّثَنَا إِبْرَاهِيمُ، حَدَّثَنَا حَمَّادٌ، عَنْ حَجَّاجٍ الصَّوَّافِ، عَنْ أَبِي الزُّبَيْرِ، عَنْ جَابِرٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ: " إِذَا أَوَى الرَّجُلُ إِلَى فِرَاشِهِ ابْتَدَرَهُ مَلَكٌ وَشَيْطَانٌ، فَيَقُولُ: الْمَلَكُ اخْتِمْ بِخَيْرٍ، وَيَقُولُ الشَّيْطَانُ: اخْتِمْ بِشَرٍّ، فَإِنْ ذَكَرَ اللَّهَ ثُمَّ نَامَ بَاتَ الْمَلَكُ يَكْلَؤُهُ، فَإِذَا اسْتَيْقَظَ، قَالَ الْمَلَكُ: افْتَحْ بِخَيْرٍ، وَقَالَ الشَّيْطَانُ: افْتَحْ بِشَرٍّ، فَإِنْ قَالَ: الْحَمْدُ لِلَّهِ الَّذِي رَدَّ عَلَيَّ نَفْسِي وَلَمْ يُمِتْهَا فِي مَنَامِهَا، الْحَمْدُ لِلَّهِ الَّذِي {يُمْسِكُ السَّمَوَاتِ وَالْأَرْضَ أَنْ تَزُولَا}، إِلَى آخِرِ الْآيَةِ، الْحَمْدُ لِلَّهِ الَّذِي {يُمْسِكُ السَّمَاءَ أَنْ تَقَعَ عَلَى الْأَرْضِ إِلَّا بِإِذْنِهِ} [الحج: 65]، فَإِنْ وَقَعَ مِنْ سَرِيرِهِ فَمَاتَ دَخَلَ الْجَنَّةَ "
It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "When a man comes to his bed to sleep, an angel and a devil rush towards him. The angel says: 'End (your day) with good,' and the devil says: 'End (your day) with evil.' If he remembers Allah and then sleeps, the angel keeps watch over him all night. Then when he wakes up, the angel says: 'Begin (your day) with good,' and the devil says: 'Begin (your day) with evil.' If he recites this supplication: 'Al-hamdu lillahi alladhi radda 'alayya nafsi wa lam yumitha fi manamiha, al-hamdu lillahi alladhi yumsiku al-samawati wa al-arda an tazula, al-hamdu lillahi alladhi yumsiku al-sama'a an taqa'a 'ala al-ardi illa bi-idhnihi' (All praise is for Allah who returned my soul to me and did not cause it to die in its sleep; all praise is for Allah who holds the heavens and the earth lest they move from their places (to the end of the verse); all praise is for Allah who holds back the sky from falling upon the earth except by His permission), then if he falls from his bed (in that state) and dies, he will enter Paradise."