Hadithcore
Mishkat al-Masabih, 2384

Abu Huraira reported God’s messenger as saying that when any of them went to bed he should dust his bedding with the inner extremity of his lower garment, for he does not know what has come on to it since he left it. He should then say, “In Your name, my Lord, I lay down my side and in You I raise it up. If You keepest my soul have mercy on it, but if You lettest it go guard it with that with which You guardest Your upright servants.” A version says that he should then lie down on his right side and say, “In Your name...” (Bukhari and Muslim). A version says he should dust it three times with the border of his garment, and has “If You keepest my soul grant it pardon.”

وَعَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " إِذَا أَوَى أَحَدُكُمْ إِلَى فِرَاشِهِ فَلْيَنْفُضْ فِرَاشَهُ بِدَاخِلَةِ إِزَارِهِ فَإِنَّهُ لَا يَدْرِي مَا خَلَفَهُ عَلَيْهِ ثُمَّ يَقُولُ: بِاسْمِكَ رَبِّي وَضَعْتُ جَنْبِي وَبِكَ أرفعه إِن أَمْسَكت نَفسِي فارحمهما وَإِنْ أَرْسَلْتَهَا فَاحْفَظْهَا بِمَا تَحْفَظُ بِهِ عِبَادَكَ الصَّالِحِينَ ". وَفِي رِوَايَةٍ: " ثُمَّ لْيَضْطَجِعْ عَلَى شِقِّهِ الْأَيْمن ثمَّ ليقل: بِاسْمِك " وَفِي رِوَايَةٍ: «فَلْيَنْفُضْهُ بِصَنِفَةِ ثَوْبِهِ ثَلَاثَ مَرَّاتٍ وَإِن أَمْسَكت نَفسِي فَاغْفِر لَهَا»

References1 variant
In-Book Reference
Book 9, Hadith 155
Related hadiths2
Compare isnād across 2 related chains →