[Machine] The Messenger of Allah ﷺ said, "When one of you goes to his bed, an angel and a devil come to him. The devil makes him open his mouth with evil, while the angel makes him open his mouth with good. If he remembers Allah, the devil goes away and the angel stays with him. When he wakes up, an angel and a devil come to him. The devil makes him open his mouth with evil, while the angel makes him open his mouth with good. If he says 'Alhamdulillah' (Praise be to Allah) who restored my soul to me after taking it in sleep, the devil goes away and the angel stays with him. If he gets up and prays, the angel keeps praying for goodness."
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ إِذَا أَوَى أَحَدُكُمْ إِلَى فِرَاشِهِ ابْتَدَرَهُ مَلَكٌ وَشَيْطَانٌ يَقُولُ الشَّيْطَانُ افْتَحْ بِشَرٍّ وَيَقُولُ الْمَلَكُ افْتَحْ بِخَيْرٍ فَإِنْ ذَكَرَ اللَّهَ ذَهَبَ الشَّيْطَانُ وَيَأْتِي الْمَلَكُ وَيَكْلَؤُهُ وَإِذَا اسْتَيْقَظَ ابْتَدَرَهُ مَلَكٌ وَشَيْطَانٌ يَقُولُ الشَّيْطَانُ افْتَحْ بِشَرٍّ وَيَقُولُ الْمَلَكُ افْتَحْ بِخَيْرٍ فَإِنْ قَالَ الْحَمْدُ لِلَّهِ الَّذِي رَدَّ إِلَيَّ نَفْسِي بَعْدَ مَوْتِهَا وَلَمْ يُمِتْهَا فِي مَنَامِهَا الْحَمْدُ لِلَّهِ الَّذِي يُمْسِكُ السَّمَاءَ أَنْ تَقَعَ عَلَى الْأَرْضِ إِلَّا بِإِذْنِهِ إِنَّ اللَّهَ بِالنَّاسِ لَرَءُوفٌ رَحِيمٌ الْحَمْدُ لِلَّهِ الَّذِي يُحْيِي الْمَوْتَى وَهُوَ عَلَى كُلِّ شَيْءٍ قَدِيرٌ فَإِنْ خَرَّ مِنْ دَابَّةٍ مَاتَ شَهِيدًا وَإِنْ قَامَ فَصَلَّى صَلَّى فِي الْفَضَائِلِ «»