Abu Hurairah reported,

The Messenger of Allah ﷺ said, "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 onto his bed after he left it. When he wishes to lie down, let him lie on his right side and say, 'Glory be to You, my Lord. By Your name I lay down my side, and by Your name 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.'"

Muslim 6892

Difficult

و حدثنا إسحق بن موسى الأنصاري حدثنا أنس بن عياض حدثنا عبيد الله حدثني سعيد بن أبي سعيد المقبري عن أبيه

عن أبي هريرة

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

مسلم 6892مشكل
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Remembrance, supplication, Tawba, and seeking forgiveness
Chapter
What to say when sleeping and lying down
Numbering
Darussalam 6892
Muslim 6892