The Messenger of Allah ﷺ said to me, "When you go to your bed, perform ablution as you would for prayer, then lie down on your right side and say, 'O Allah, I submit myself to You, I entrust my affair to You, and I take refuge in You, out of fear of You and longing for You. There is no refuge and no escape from You except to You. I believe in Your Book which You revealed and in Your Prophet whom You sent.' If you die, you will die upon the fitrah. Make these the last words you speak."I said, repeating them back to memorize them, "And in Your Messenger whom You sent."He said, "No, say, 'And in Your Prophet whom You sent.'"
حدثنا مسدد حدثنا معتمر قال سمعت منصورا عن سعد بن عبيدة قال حدثني
قال لي رسول الله ﷺ إذا أتيت مضجعك فتوضأ وضوءك للصلاة ثم اضطجع على شقك الأيمن وقل اللهم أسلمت نفسي إليك وفوضت أمري إليك وألجأت ظهري إليك رهبة ورغبة إليك لا ملجأ ولا منجا منك إلا إليك آمنت بكتابك الذي أنزلت وبنبيك الذي أرسلت فإن مت مت على الفطرة فاجعلهن آخر ما تقول فقلت أستذكرهن وبرسولك الذي أرسلت قال لا وبنبيك الذي أرسلت