Dua before sleeping in Islam is more than a bedtime habit. It is an act of worship. Sleep in Islam is a minor death, a surrender to Allah, and a trust placed in Him. The Prophet Muhammad ﷺ taught a complete bedtime routine. It includes du’as, Qur’anic recitation, physical acts, and a clear sequence.
This guide gathers the established dua before sleeping in Islam with Arabic text, transliteration, translation, and source. It also explains the wider Sunnah bedtime routine.
If you are looking for the most authentic dua before sleeping in Islam, the Sunnah gives a clear and beautiful bedtime routine built on remembrance, protection, and trust in Allah.
Why sleep is an act of worship in Islam
The Qur’an presents sleep as a sign of Allah’s power and mercy. It is not just a pause in consciousness. It is a designed state.
«And of His signs is your sleep by night and by day, and your seeking of His bounty. Indeed in that are signs for a people who listen.»
«Allah takes the souls at the time of their death, and those that have not died during their sleep. He retains those for which He has decreed death and releases the others for a specified term.»
This second verse forms the basis for the Islamic view of sleep as a minor death.
Each night, Allah takes the soul. Each morning, He returns it — unless He has decreed death. That is why the Prophetic bedtime du’as use such direct language of surrender. A believer sleeps knowing that life and death are both in Allah’s hands.
With that understanding, sleep stops being passive. It becomes an act of tawakkul. The tongue remembers Allah. The body follows Sunnah. The heart rests in trust.
This preparation also affects the quality of sleep and dreams. For the broader Islamic framework on dream types and interpretation, see our complete guide to Islamic dream interpretation.
The complete Sunnah bedtime routine
The following sequence comes from authentic hadith. You do not need to perform every step perfectly from the first night. But it helps to see the full Prophetic routine in one place.
For many readers, the practical question is simple: what is the best dua before sleeping in Islam? The answer includes both short bedtime supplications and the wider Sunnah routine that surrounds them.
Dua Before Sleeping in Islam: Core Sunnah Supplications
These are the main forms of dua before sleeping in Islam that are established through well-known narrations and recited as part of the Prophetic bedtime practice.
Du’a 1 — Surrendering the soul to Allah
بِاسْمِكَ اللَّهُمَّ أَمُوتُ وَأَحْيَا
Bismika Allahumma amutu wa ahya
«In Your name, O Allah, I die and I live.»
Say this when you lie down to sleep.
It is short, but it carries the core meaning of the whole routine. You surrender life and death to Allah.
Du’a 2 — The comprehensive supplication of surrender
اللَّهُمَّ أَسْلَمْتُ نَفْسِي إِلَيْكَ، وَفَوَّضْتُ أَمْرِي إِلَيْكَ، وَوَجَّهْتُ وَجْهِي إِلَيْكَ، وَأَلْجَأْتُ ظَهْرِي إِلَيْكَ، رَغْبَةً وَرَهْبَةً إِلَيْكَ، لَا مَلْجَأَ وَلَا مَنْجَا مِنْكَ إِلَّا إِلَيْكَ، آمَنْتُ بِكِتَابِكَ الَّذِي أَنْزَلْتَ وَبِنَبِيِّكَ الَّذِي أَرْسَلْتَ
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 bikitabika alladhi anzalta wa nabiyyika alladhi arsalt.
«O Allah, I submit myself to You, I entrust my affairs to You, I turn my face toward You, I place my back against You — out of desire and fear of You. There is no refuge and no escape from You except to You. I believe in Your Book which You revealed, and Your Prophet whom You sent.»
This is one of the greatest bedtime supplications in the Sunnah.
The Prophet ﷺ taught it and instructed that it should be among the final words before sleep. The scholars note its depth: faith, surrender, trust, hope, fear, and belief all gather in one du’a.
Du’a 3 — Protection from punishment
اللَّهُمَّ قِنِي عَذَابَكَ يَوْمَ تَبْعَثُ عِبَادَكَ
Allahumma qini ‘adhabaka yawma tab’athu ‘ibadak
«O Allah, protect me from Your punishment on the Day You resurrect Your servants.»
Say this three times while lying on your right side.
Du’a 4 — A short supplication of life and death
اللَّهُمَّ بِاسْمِكَ أَحْيَا وَبِاسْمِكَ أَمُوتُ
Allahumma bismika ahya wa bismika amut
«O Allah, in Your name I live and in Your name I die.»
This du’a is short and easy to memorize. It keeps the same central theme: your life belongs to Allah, and so does your death.
Du’a 5 — Supplication for one who cannot sleep
اللَّهُمَّ غَارَتِ النُّجُومُ، وَهَدَأَتِ الْعُيُونُ، وَأَنْتَ حَيٌّ قَيُّومٌ، لَا تَأْخُذُكَ سِنَةٌ وَلَا نَوْمٌ، يَا حَيُّ يَا قَيُّومُ، أَهْدِئْ لَيْلِي وَأَنِمْ عَيْنِي
Allahumma gharat al-nujum, wa hada’at al-‘uyun, wa anta hayyun qayyum. La ta’khudhuka sinatun wa la nawm. Ya Hayyu ya Qayyum, ahdi’ layli wa anim ‘ayni.
«O Allah, the stars have set, the eyes have grown still, and You are the Ever-Living, the Self-Sustaining. Neither slumber nor sleep overtakes You. O Ever-Living, O Self-Sustaining — calm my night and bring sleep to my eyes.»
— Ibn al-Sunni, ‘Amal al-Yawm wa al-Layla; referenced by scholars for one struggling to sleep
This is often cited for people who struggle to fall asleep. It is not as central as the core Sunnah bedtime du’as, but many scholars mention it in this context.
Quranic recitations before sleep
Ayat al-Kursi (2:255)
Ayat al-Kursi is one of the strongest recitations before sleep.
Abu Hurairah رضي الله عنه narrated the famous incident of the thief who taught him that whoever recites Ayat al-Kursi before bed will be protected through the night. The Prophet ﷺ confirmed the truth of that statement, even though the speaker was Shaytan himself (Sahih al-Bukhari 2311).
Recite it once before sleep. It brings protection and reminds the heart of Allah’s complete sovereignty.
Surah al-Ikhlas, al-Falaq, and al-Nas — three times each
«The Prophet ﷺ used to recite al-Ikhlas, al-Falaq, and al-Nas every night when he went to his bed. He would cup his hands, blow into them, recite into them, then wipe over his face and whatever of his body his hands could reach. He would do this three times.»
These three surahs form a complete shield.
Surah al-Ikhlas affirms tawhid. Surah al-Falaq seeks refuge from outward harm. Surah al-Nas seeks refuge from hidden whispering and inner harm.
Together, they protect the believer at the threshold of sleep.
The last two verses of Surah al-Baqarah (2:285–286)
«Whoever recites the last two verses of Surah al-Baqarah at night, they will suffice him.»
These verses carry deep protection and consolation.
Scholars explained “they will suffice him” in different ways. Many understood it as protection from harm, from Shaytan, and from disturbance in the night. They also contain powerful meanings of faith, obedience, forgiveness, and dependence on Allah.
Surah al-Kafirun
The Prophet ﷺ also recommended reciting Surah al-Kafirun before sleep:
«Recite Qul ya ayyuha al-kafirun before you sleep, for it is a disavowal of shirk.»
This surah is short but powerful. It ends the day with a clear declaration of tawhid and separation from disbelief.
Tasbeeh of Fatimah before sleep
«Fatimah came to the Prophet ﷺ asking for a servant. He said to her: Shall I not tell you of something better than what you have asked for? When you go to your bed, say SubhanAllah thirty-three times, Alhamdulillah thirty-three times, and Allahu Akbar thirty-four times. That is better for you than a servant.»
The Tasbeeh of Fatimah includes:
SubhanAllah — Glory be to Allah
× 33
Alhamdulillah — All praise is to Allah
× 33
Allahu Akbar — Allah is the Greatest
× 34
The Prophet ﷺ taught this dhikr as something better than a servant.
Scholars often mention its effect on strength, ease, and calm. It is simple, but it adds real weight to the bedtime routine.
Du’a upon waking
The Sunnah of sleep does not end when the eyes open. It continues into the first moments of waking.
الْحَمْدُ لِلَّهِ الَّذِي أَحْيَانَا بَعْدَ مَا أَمَاتَنَا وَإِلَيْهِ النُّشُورُ
Al-hamdu lillahi alladhi ahyana ba’da ma amatana wa ilayhi al-nushur
«All praise is to Allah, who gave us life after causing us to die, and to Him is the resurrection.»
This du’a frames waking as a resurrection. Allah returned the soul. He gave you another morning, another chance to worship, and another day to use well.
After this, the morning adhkar continue the cycle that the bedtime routine began.
What to do after a bad dream
If you see a disturbing dream, the Prophet ﷺ taught a clear response.
«If one of you sees a dream he dislikes, let him spit lightly to his left three times, seek refuge from Shaytan three times, and turn over onto his other side.»
Follow this sequence:
- Spit lightly to the left three times
- Say A’udhu billahi min al-Shaytan al-rajeem three times
- Turn to the other side
- Do not share the dream carelessly
- Do not try to interpret it
If your wudu has broken, renew it if you can. Then return to sleep with protection, especially Ayat al-Kursi.
For more detail on bad dreams and their response, see our full guide to what to do after a bad dream in Islam.
How the bedtime routine connects to dream quality
Classical scholars often linked the Sunnah bedtime routine to dream quality.
They explained the connection in spiritual terms, not mechanical ones. The adhkar are not magic words. They are acts of worship that orient the soul toward Allah.
When a person sleeps in wudu, recites the protective verses, and enters sleep with surrender and remembrance, the heart is quieter. The soul is more guarded. The night is more protected.
The Prophet ﷺ said that the most truthful people in speech have the most truthful dreams. That tells us something important. The path to better dreams is not only about what you say before sleep. It is also about who you are when you are awake.
For the full guide to cultivating the conditions for true visions, including what to avoid before sleep and the value of the last third of the night, see our dedicated article on how to have good dreams in Islam.
Sleep paralysis: the Islamic perspective
Sleep paralysis is a real and recognized experience. A person wakes but cannot move. Often, the episode comes with pressure, fear, or the sense of a presence.
In Islamic discussion, this experience has often been linked with kabus and with spiritual disturbance. Scholars advised the person to seek refuge in Allah, strengthen their adhkar, and renew wudu after the episode if possible.
Practically, those who suffer frequent episodes are often advised to:
- Sleep in wudu consistently
- Recite Ayat al-Kursi and the three Quls before every sleep
- Review what they consume before bed, including content and environment
- Speak to a scholar if the experience becomes severe or spiritually destabilizing
From a medical angle, sleep paralysis is also linked to stress, sleep deprivation, and irregular sleep patterns. Addressing those causes does not conflict with the spiritual response. Islam allows both. For a dedicated treatment, see our full guide to sleep paralysis in Islam.
Frequently asked questions
What is the most important du’a before sleeping in Islam?
The comprehensive du’a of surrender holds a very high place. But the best approach is not to isolate one du’a and ignore the rest.
If time is short, prioritize Ayat al-Kursi, the three Quls, and the core du’a of surrender.
What if I fall asleep before finishing the adhkar?
This happens often.
If it keeps happening, complete the most essential recitations before fully lying down. Start with Ayat al-Kursi, the three Quls, and the main bedtime du’a. Over time, the routine becomes easier and more natural.
Should children be taught these du’as?
Yes. Teaching children bedtime adhkar is a valuable Sunnah habit.
Start with the shortest and easiest parts. Then build slowly. Many families begin with Ayat al-Kursi, the three Quls, and one short bedtime du’a.
Is there a du’a specifically for Istikhara before sleeping?
No separate bedtime du’a is established just for after Istikhara.
Istikhara consists of two rak’ahs and the known supplication. After that, the usual bedtime adhkar remain beneficial. Also, a dream is not required for Istikhara to be valid or effective.
What is the du’a for someone who has a nightmare and cannot get back to sleep?
Begin with the Sunnah response to a bad dream: spit lightly to the left, seek refuge in Allah, and turn to the other side.
Then recite Ayat al-Kursi again. If sleep still does not return, remain in dhikr or pray Tahajjud if you are able.
What is the simplest dua before sleeping in Islam?
The simplest dua before sleeping in Islam is: “Bismika Allahumma amutu wa ahya” — “In Your name, O Allah, I die and I live.” Many Muslims also combine it with Ayat al-Kursi, the three Quls, and sleep in wudu.
Does the order of the bedtime adhkar matter?
The narrations suggest a broad structure, not a rigid checklist.
The main point is consistency and sincerity. The Qur’anic recitations are best done before fully settling into sleep, while some du’as and tasbeeh can continue once you are lying down.
Keep your bedtime adhkar, dream notes, and Istikhara reflections in one place. Our Islamic Dream Journal includes a practical adhkar reference section alongside guided dream-recording prompts.