Sahih al-Bukhari 6311
5952 حدثنا مسدد حدثنا معتمر قال سمعت منصورا عن سعد بن عبيدة قال حدثني البراء بن عازب رضي الله عنهما قال قال لي رسول الله صلى الله عليه وسلم إذا أتيت مضجعك فتوضأ وضوءك للصلاة ثم اضطجع على شقك الأيمن وقل اللهم أسلمت نفسي إليك وفوضت أمري إليك وألجأت ظهري إليك رهبة ورغبة إليك لا ملجأ ولا منجا منك إلا إليك آمنت بكتابك الذي أنزلت وبنبيك الذي أرسلت فإن مت مت على الفطرة فاجعلهن آخر ما تقول فقلت استذكرهن وبرسولك الذي أرسلت قال لا وبنبيك الذي أرسلت \ 1 \
5952 Musaddad related to us, Mu'tamir related to us, he said: I heard Mansur, from Sa'd ibn Ubayda, he said: al-Bara' ibn Azib (may Allah be pleased with them both) related to me, he said: The Messenger of Allah ﷺ said to me: When you come to your bed, perform your ablution as for prayer, then lie down on your right side and say: O Allah, I have submitted myself to You, I have entrusted my affair to You, and I have turned my back to You, out of fear and longing for You. There is no refuge and no escape from You except to You. I believe in Your Book which You have sent down and in Your Prophet whom You have sent. If you die, you die upon the fitra. Make them the last of what you say. So I said, repeating them to memorize them: and in Your Messenger whom You have sent. He said: No, and in Your Prophet whom You have sent.
Indicative translation