اللَّهُمَّ أَسْلَمْتُ نَفْسِي إِلَيْكَ، وَفَوَّضْتُ أَمْرِي إِلَيْكَ، وَوَجَّهْتُ وَجْهِي إِلَيْكَ، وَأَلْجَأْتُ ظَهْرِي إِلَيْكَ، رَغْبَةً وَرَهْبَةً إِلَيْكَ، لَا مَلْجَأَ وَلَا مَنْجَا مِنْكَ إِلَّا إِلَيْكَ، آمَنْتُ بِكِتَابِكَ الَّذِي أَنْزَلْتَ، وَبِنَبِيِّكَ الَّذِي أَرْسَلْتَ
Allahumma aslamtu nafsi ilayk, wa fawwadtu amri ilayk, wa wajjahtu wajhi ilayk, wa alja'tu zahri ilayk, raghbatan wa rahbatan ilayk, la malja'a wa la manja minka illa ilayk. Amantu bi kitabikal-ladhi anzalt, wa bi nabiyyikal-ladhi arsalt
O Allah, I have submitted myself to You, entrusted my affairs to You, turned my face to You, and leaned my back against You, out of desire for You and fear of You. There is no refuge or safety from You except with You. I believe in Your Book which You have revealed, and in Your Prophet whom You have sent.
When lying down to sleep
The Prophet (PBUH) said if one dies that night, they die on the fitrah (natural disposition)