TIRMIDHI 3395:
from Rāfiʿ b. Khadīj —
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.”
الترمذي ٣٣٩٥:
عن رافع بن خديج —
أَنَّ النَّبِيَّ ﷺ قَالَ إِذَا اضْطَجَعَ أَحَدُكُمْ عَلَى جَنْبِهِ الأَيْمَنِ ثُمَّ قَالَ اللَّهُمَّ إِنِّي أَسْلَمْتُ نَفْسِي إِلَيْكَ وَوَجَّهْتُ وَجْهِي إِلَيْكَ وَأَلْجَأْتُ ظَهْرِي إِلَيْكَ وَفَوَّضْتُ أَمْرِي إِلَيْكَ لاَ مَلْجَأَ وَلاَ مَنْجَا مِنْكَ إِلاَّ إِلَيْكَ أُومِنُ بِكِتَابِكَ وَبِرُسُلِكَ فَإِنْ مَاتَ مِنْ لَيْلَتِهِ دَخَلَ الْجَنَّةَ
hadithunlocked.com