اللَّهُمَّ خَلَقْتَ نَفْسِي وَأَنْتَ تَوَفَّاهَا لَكَ مَمَاتُهَا وَمَحْيَاهَا إِنْ أَحْيَيْتَهَا فَاحْفَظْهَا وَإِنْ أَمَتَّهَا فَاغْفِرْ لَهَا اللَّهُمَّ إِنِّي أَسْأَلُكَ الْعَافِيَةَ
Allaahumma khalaqta nafsee wa anta tawaffaahaa, laka mamaatuhaa wa maḥyaahaa, in aḥyaytahaa faḥfaẓhaa, wa in amattahaa faghfir lahaa, allaahumma innee as’alukal-‛aafiyah
O Allah, verily You have created my soul and You shall take its life, to You belong its life and its death. If You should keep my soul alive then protect it, and if You should take its life then forgive it. O Allah, I ask You to grant me well-being.
(Sahih Muslim 2712)