(16) باب مَا جَاءَ فِي الدُّعَاءِ إِذَا أَوَى إِلَى فِرَاشِهِ
Rafi` bin Khadij narrated that:
The Prophet said: "When one of you lies down on his right side, then says: 'O Allah, I have submitted myself to You, and I have turned my face to You, and I lay myself down relying upon You, and I have entrusted my affair to You, there is no refuge [nor escape] from You except to You. I believe in Your Book and Your Messengers (Allāhumma innī aslamtu nafsī ilaika wa wajjahtu wajhī ilaika, wa alja'tu ẓahrī ilaika, wa fawwaḍtu amrī ilaika, lā malja'a [wa lā manjā] minka illā ilaik, ūminu bikitābika wa birusulika)' – then if he dies that night, he shall enter Paradise."
Reference: Jami` at-Tirmidhi 3395
In-book reference: Book 48, Hadith 26
English translation: Vol. 6, Book 45, Hadith 3395