Supplication Before Sleeping (Entrusting the Soul to Allah)

سونے سے پہلے روح کو اللہ کے سپرد کرنے کی دعا
اللَّهُمَّ أَنْتَ خَلَقْتَ نَفْسِي وَأَنْتَ تَوَفَّاهَا، لَكَ مَمَاتُهَا وَمَحْيَاهَا، إِنْ أَحْيَيْتَهَا فَاحْفَظْهَا، وَإِنْ أَمَتَّهَا فَاغْفِرْ لَهَا، اللَّهُمَّ إِنِّي أَسْأَلُكَ الْعَافِيَةَ
Allahumma anta khalaqta nafsi wa anta tawaffaha, laka mamatuha wa mahyaha. In ahyaytaha fahfazha, wa in amattaha faghfir laha. Allahumma inni as'alukal-'afiyah.
O Allah, You created my soul and You will take it back. Its death and its life belong to You. If You keep it alive, then protect it, and if You cause it to die, then forgive it. O Allah, I ask You for well-being.