Abu Hurairah reported,

The Prophet ﷺ said, "When one of you goes to his bed, let him dust off his bed with the inner part of his lower garment, for he does not know what may have come upon it after he left it. Then let him say, 'In Your name, my Lord, I lay down my side, and by You I raise it. If You take my soul, have mercy on it, and if You send it back, protect it with that by which You protect Your righteous servants.'"In another narration, "When one of you goes to his bed, let him take the inner part of his lower garment and dust off his bed with it, and let him mention the name of Allah, for he does not know what may have come upon his bed after he left it. Then when he wishes to lie down, let him lie on his right side and say, 'Glory be to You, Allah, my Lord. By You I lay down my side, and by You I raise it. If You take my soul, forgive it, and if You send it back, protect it with that by which You protect Your righteous servants.'"In another narration, "When one of you comes to his bed, let him dust it off with the edge of his garment three times and say, 'In Your name, my Lord, I lay down my side…'"

Azami 11239

Sahih

عن أبي هريرة قال

قال النبي ﷺ: إذا أوى أحدكم إلى فراشه فلينفض فراشه بداخلة إزاره، فإنه لا يدري ما خلفه عليه، ثم يقول: باسمك ربي وضعت جنبي، وبك أرفعه، إن أمسكت نفسي فارحمها، وإن أرسلتها فاحفظها بما تحفظ به الصالحين. وفي رواية: إذا أوى أحدكم إلى فراشه فليأخذ داخلة إزاره، فلينفض بها فراشه وليسم الله فإنه لا يعلم ما خلفه بعده على فراشه، فإذا أراد أن يضطجع فليضطجع على شقه الأيمن، وليقل: سبحانك اللهم ربي، بك وضعت جنبي، وبك أرفعه، إن أمسكت نفسي فاغفر لها، وإن أرسلتها فاحفظها بما تحفظ به عبادك الصالحين. وفي رواية: إذا جاء أحدكم فراشه فلينفضه بصنفة ثوبه ثلاث مرات وليقل: باسمك ربي وضعت جنبي…

الأعظمي 11239صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Morning and evening supplications
Section
Supplications and remembrances narrated when going to sleep and when waking up
Numbering
Jami al-Kamil 11239 (2nd edition)
Azami 11239