"إِذَا اضطجعت فقلْ: بسم الله، أعوذُ بكلمةِ اللهِ التَّامَّةِ منْ غَضَبِه وعِقَابه ومنْ شرِّ عبادِه ومِنْ همزاتِ الشياطينِ وأنْ يحضرون" .
Yahya related to me from Malik that Yahya ibn Said said that he had heard that Khalid ibn al-Walid said to the Messenger of Allah ﷺ "I have nightmares." The Messenger of Allah ﷺ said to him, "Say, 'I seek refuge with the complete words of Allah from His anger and His punishment and the evil of His slaves, and from the evil suggestions of the shayatin and from their being present (at death).' " Audhu bi kalimati' llahi't-tammati min ghadabihi wa iqabihi wa sharri ibadihi wa min hamazati' sh-shayatin wa an yahdurun.
قَالَ لِرَسُولِ اللَّهِ ﷺ إِنِّي أُرَوَّعُ فِي مَنَامِي فَقَالَ لَهُ رَسُولُ اللَّهِ ﷺ قُلْ أَعُوذُ بِكَلِمَاتِ اللَّهِ التَّامَّةِ مِنْ غَضَبِهِ وَعِقَابِهِ وَشَرِّ عِبَادِهِ وَمِنْ هَمَزَاتِ الشَّيَاطِينِ وَأَنْ يَحْضُرُونِ
[Machine] The Messenger of Allah ﷺ used to teach us words to say before sleeping out of fear, "In the name of Allah, I seek refuge in the complete words of Allah from His anger and punishment, from the evil of His slaves, from the whispers of the devils, and that they come near."
كَانَ رَسُولُ اللهِ ﷺ يُعَلِّمُنَا كَلِمَاتٍ يَقُولُهَا عِنْدَ النَّوْمِ مِنَ الْفَزَعِ «بِاسْمِ اللهِ أَعُوذُ بِكَلِمَاتِ اللهِ التَّامَّاتِ مِنْ غَضَبِهِ وَعِقَابِهِ وَمِنْ شَرِّ عِبَادِهِ وَمِنْ هَمَزَاتِ الشَّيَاطِينِ وَأَنْ يَحْضُرُونِ»
[Machine] Khalid ibn al-Walid ibn al-Mughirah was a man who would experience fear in his sleep. He mentioned this to the Messenger of Allah ﷺ , and the Prophet ﷺ said to him, "When you lie down to sleep, say, 'In the name of Allah, I seek refuge in the perfect words of Allah from His anger, punishment, the evil of His slaves, and from the whispers of the devils and that they come close.'" So he said it, and that fear went away from him.
كَانَ خَالِدُ بْنُ الْوَلِيدِ بْنِ الْمُغِيرَةِ رَجُلًا يَفْزَعُ فِي مَنَامِهِ فَذَكَرَ ذَلِكَ لِرَسُولِ اللهِ ﷺ فَقَالَ لَهُ النَّبِيُّ ﷺ إِذَا اضْطَجَعْتَ فَقُلْ بِاسْمِ اللهِ أَعُوذُ بِكَلِمَاتِ اللهِ التَّامَّةِ مِنْ غَضَبِهِ وَعِقَابِهِ وَشَرِّ عِبَادِهِ وَمِنْ هَمَزَاتِ الشَّيَاطِينِ وَأَنْ يَحْضُرُونِ فَقَالَهَا فَذَهَبَ ذَلِكَ عَنْهُ
"إِذَا فزعَ أحدُكُم في النَّوم فليقلْ: باسْم الله أعوذُ بكلماتِ الله التَّامة مِنْ غضبِه وشرِّ عقابه وشرِّ عبِاده، ومِنْ همزاتِ الشَّياطين وأنْ يحضرون؛ فإِنها لنْ تَضُرَّه".
"إذَا أويتَ إلَى فراشِك فقُلْ: أعوذُ بكلماتِ اللهِ التامّاتِ منْ غْضَبه وعقابهِ ومنْ شرِّ عبادِه ومِنْ همزاتِ الشَّياطينِ وأعوذُ بكَ ربِّ أنْ يحضرونِ فإنَّه لا يضُّرك، وبالحْرِيِّ أنْ لَّا يقرَبَك".
"إذا أخذت مضجعك فقل: أعوذ بكلمات الله التَّامَّة من غضبه وعقابيه، وشرَّ عباده، ومن هَمزات الشياطين أن يحضرون، فإنه لا يضُرُّك، وبالحرِيِّ ألا يَضُرَّك".