Hadithcore
Riyad as-Salihin, 813

Al-Bara' bin 'Azib (May Allah be pleased with them) reported:

Whenever Messenger of Allah (ﷺ) went to bed, he would lie down on his right side and recite: "Allahumma aslamtu nafsi ilaika, wa wajjahtu wajhi ilaika, wa fawwadtu amri ilaika, wa 'alja'tu zahri ilaika, raghbatan wa rahbatan ilaika, la malja'a wa la manja illa ilaika. Amantu bikitabikal-ladhi anzalta, wa nabiyyikal-ladhi arsalta [O Allah! I have submitted myself to You, I have turned my face to You, committed my affairs to You, and depend on You for protection out of desire for You and out of fear of You (expecting Your reward and fearing Your punishment). There is no refuge and no place of safety from You but with You. I believed in the Book You have revealed, and in the Prophet (ﷺ) You have sent (i.e., Muhammad (ﷺ)).]" <b>[Al-Bukhari]</b>.

عن البراء بن عازب رضى الله عنهما قال‏:‏ كان رسول الله صلى الله عليه وسلم ِإذا أوى إلى فراشه نام على شقه الأيمن، ثم قال‏:‏ ‏

‏ اللهم أسلمت نفسي إليك، ووجهت وجهي إليك، وفوضت أمري إليك، وألجأت ظهري إليك، رغبة ورهبة إليك، لا ملجأ ولا منجى منك إلا إليك‏.‏ آمنت بكتابك الذي أنزلت ‏.‏ ونبيك الذي أرسلت‏

‏‏.‏ ‏((رواه البخاري بهذا اللفظ في كتاب الأدب من صحيحه‏)‏‏)‏

References1 variant
In-Book Reference
Book 4, Hadith 1
Sharh · explanationclick to expand
<b>Guidance from the Hadiths:</b><br> 1) It is recommended to lie on the right side, as this does not burden the heart. This posture is consistent with the Sunnah and easier on the body.<br> 2) It is recommended that the Muslim sleeps in a state of purification, which makes him safer from Satan’s manipulation.<br> 3) Out of His wisdom and mercy, Allah Almighty laid down specific Dhikr to be said during the different actions people engage in. Thus, they do not become heedless of mentioning their Lord.
Related hadiths6
Compare isnād across 6 related chains →