Bara bin Azib reported,

The Prophet ﷺ said, "When you go to your bed, perform ablution and lie down on your right side, then say, 'O Allah, I have surrendered my face to You, entrusted my affair to You, and committed my back to You, in hope of You and in fear of You. There is no refuge or 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 natural way of faith."

Ahmad 18587

Sahih

حدثنا يحيى بن آدم حدثنا فضيل يعني ابن عياض عن منصور عن سعد بن عبيدة

عن البراء بن عازب

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

أحمد 18587صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Bara bin Azib
Numbering
Darussalam 18587
Ahmad 18587