اللَّهُمَّ إِنَّكَ خَلَقْتَ نَفْسِي وَأَنْتَ تَوَفَّاهَا، لَكَ مَمَاتُهَا وَمَحْيَاهَا، إِنْ أَحْيَيْتَهَا فَاحْفَظْهَا وَإِنْ أَمَتَّهَا فَاغْفِرْ لَهَا، اللَّهُمَّ إِنِّي أَسْأَلُكَ الْعَافِيَةَ
Allahumma innaka khalaqta nafsi wa Anta tawaffaha, laka mamatuha wa mahyaha, in ahyaytaha fahfadhha wa in amattaha faghfir laha. Allahumma inni as'alukal-'afiyah
O Allah, You created my soul and You will take it. To You belongs its death and its life. If You keep it alive, protect it, and if You cause it to die, forgive it. O Allah, I ask You for well-being.
This du'a acknowledges the most humbling reality of sleep: you do not know if you will wake up. "If You keep it alive, protect it; if You cause it to die, forgive it" — it covers both outcomes with complete trust. You hand over your soul every night, and every morning it is returned to you as a gift.
Related Du'as
مَنْ قَرَأَ آيَةَ الْكُرْسِيِّ حِينَ يَأْوِي إِلَى فِرَاشِهِ لَمْ يَزَلْ عَلَيْهِ مِنْ اللَّهِ حَافِظٌ وَلَا يَقْرَبُهُ شَيْطَانٌ حَتَّى يُصْبِحَ
Whoever recites Ayatul-Kursi when going to bed, Allah appoints a guardian for him, and no devil will come near him until morning.
Sahihقُلْ هُوَ اللَّهُ أَحَدٌ وَقُلْ أَعُوذُ بِرَبِّ الْفَلَقِ وَقُلْ أَعُوذُ بِرَبِّ النَّاسِ
Recite Surah Al-Ikhlas, Surah Al-Falaq, and Surah An-Nas — then blow gently into your palms and wipe over your body.
Sahihالْحَمْدُ لِلَّهِ
Praise be to Allah.
Sahihأَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ
I seek refuge in Allah from Shaytan, the accursed.
Sahih