Dua & Dhikr
Published on

Dua Before Going to Sleep: The Prophetic Bedtime Routine

Authors
  • Ahmad
    Name
    Ahmad
    Role
    Senior Marketing Manager, Islamic education • DeenUp

بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ

In the name of God, the Most Gracious, the Most Merciful.

Prayer beads and a glowing lantern overlooking a mosque courtyard

Quick answer

What is the dua before going to sleep in Islam?

The main dua before going to sleep is Bismika Allahumma amutu wa ahya (بِاسْمِكَ اللَّهُمَّ أَمُوتُ وَأَحْيَا) — In Your name, O Allah, I die and I live. It is recited when lying down, reported in Sahih al-Bukhari 6312. This short supplication frames sleep as a temporary death and waking as a renewed gift from Allah.

A soft lamp beside an open Quran on a prayer mat in a quiet room at night, warm golden tones

The moment before sleep is one of the most intimate in a Muslim's day. The room is quiet. The demands of the world have finally paused. And the Prophet ﷺ showed us something extraordinary — how to turn those final moments into an act of profound worship, remembrance, and surrender to Allah.

The bedtime adhkar are not just recitations you rush through. Each one is a deliberate act of connection: reminding yourself who holds your soul, seeking protection for the night, and ending the day with gratitude. When done consistently, they transform sleep itself into ibadah.

What Is the Dua Before Going to Sleep?

The primary dua before going to sleep is Bismika Allahumma amutu wa ahya — "In Your name, O Allah, I die and I live." Reported from Hudhayfah (رضي الله عنه), the Prophet ﷺ would recite this when lying down (Sahih al-Bukhari 6312). The Quran describes sleep as the soul being taken by Allah and restored upon waking (Surah Az-Zumar, 39:42), and this dua consciously surrenders both outcomes — sleeping and waking — to Him alone.

The Main Bedtime Dua

بِاسْمِكَ اللَّهُمَّ أَمُوتُ وَأَحْيَا

Bismika Allahumma amutu wa ahya

"In Your name, O Allah, I die and I live." — (Sahih al-Bukhari 6312)

Upon waking, the companion dua completes the thought:

الْحَمْدُ لِلَّهِ الَّذِي أَحْيَانَا بَعْدَ مَا أَمَاتَنَا وَإِلَيْهِ النُّشُورُ

Alhamdulillah alladhi ahyana ba'da ma amatana wa ilayhi an-nushur

"All praise is for Allah who gave us life after causing us to die, and to Him is the resurrection." — (Sahih al-Bukhari 6312)

Together, these duas frame every night as a meditation on death and resurrection — one of the most powerful contemplations in Islamic spirituality.

Why the Prophet ﷺ Taught This Routine

Fatimah (رضي الله عنها), the Prophet's daughter, once came to him exhausted from her household work. She asked for a servant to ease her burden. The Prophet ﷺ did not give her one. Instead, he sat at her bedside and said: "Shall I not tell you something better than what you asked for?"

He then taught her and Ali (رضي الله عنهما) to recite SubhanAllah 33 times, Alhamdulillah 33 times, and Allahu Akbar 34 times before sleeping. "That," he said, "is better for you than a servant." (Sahih Muslim 2727)

The lesson is remarkable. When Fatimah was physically depleted, the Prophet ﷺ gave her dhikr — not as a consolation, but as the most powerful source of renewal available to a believer. Ending the day in remembrance of Allah replenishes what nothing else can.

The Complete Prophetic Bedtime Routine

The Prophet ﷺ described a full sequence for retiring to sleep, with each step grounded in authentic hadith. Together they form one of the most spiritually complete nightly practices in Islam.

StepPracticeSource
1. WuduMake ablution as you would for prayerSahih al-Bukhari 247
2. Right sideLie on your right sideSahih al-Bukhari 247
3. Shake the bedShake out your bed three times before lying downSahih al-Bukhari 6320
4. Ayat al-KursiRecite Surah Al-Baqarah, 2:255 onceSahih al-Bukhari 3275
5. Three QulsRecite Al-Ikhlas, Al-Falaq, and An-Nas; blow into cupped hands and wipe over the body three timesSahih al-Bukhari 5017
6. Tasbeeh of Fatimah33× SubhanAllah, 33× Alhamdulillah, 34× Allahu AkbarSahih Muslim 2727
7. Bedtime duaBismika Allahumma amutu wa ahyaSahih al-Bukhari 6312

This sequence is drawn from compiling multiple authentic narrations. Scholars generally recommend beginning with bodily purification and ending with the verbal act of surrender to Allah. For a deeper look at the full evening adhkar, see our complete guide to adhkar before sleeping.

Why Ayat al-Kursi Holds Such Importance

Ayat al-Kursi (Surah Al-Baqarah, 2:255) is described in hadith as the greatest verse in the Quran. At bedtime, Abu Hurairah (رضي الله عنه) narrated that whoever recites it before sleeping "will have a guardian from Allah watching over him, and no shaytan will come near him until morning" (Sahih al-Bukhari 3275). It is a direct invocation of divine protection during the most vulnerable hours of the day. You can read the full verse with its translation at quran.com/al-baqarah/255.

The Three Quls: Protection Through Recitation

The Prophet ﷺ taught gathering the palms, blowing into them, and reciting Surah Al-Ikhlas, Al-Falaq, and An-Nas — then wiping the hands over the head, face, and as much of the body as possible. Aishah (رضي الله عنها) narrated that she would guide the Prophet's ﷺ hands over his own body during his final illness so he could maintain this practice (Sahih al-Bukhari 5017).

The Three Quls together cover the full range of protection: from the imperfection of what is created, from the darkness of the night, from those who whisper, and from envy. The full hadith is available at sunnah.com/bukhari:5017.

The evening adhkar — including these recitations — are explored in detail in our guide to evening adhkar in Islam.

Making It Part of Your Daily Life

The bedtime routine often fails not because it takes too long — it requires less than five minutes — but because it feels optional until it becomes a reflex.

Two practical shifts make the difference.

Anchor it to wudu. The Prophet ﷺ explicitly linked bedtime wudu to the routine: "When you go to your bed, perform wudu as you do for prayer" (Sahih al-Bukhari 247). When wudu becomes your trigger, the adhkar follow naturally — you are already in a state of worship before your head reaches the pillow.

Do the Tasbeeh lying down. The Tasbeeh of Fatimah requires counting, which keeps the mind engaged. You can use your fingers — the Prophet ﷺ indicated counting on the right hand (Sunan Abi Dawud 1502) — or prayer beads. Lying on your right side while counting creates the physical anchor that helps the habit stick.

The importance of regular dhikr is clear from both Quran and Sunnah. But consistency matters more than perfection. Starting with just the main dua and Ayat al-Kursi, then building from there, is far better than attempting the full sequence once and abandoning it.

Do you feel your duas are unanswered?

Have you read the dua properly? Learn authentic duas, understand their meanings, and call upon Allah with greater confidence through DeenUp.

Take the Dua Quiz
DeenUp app showing bite-sized Islamic lessons

The main bedtime dua is part of a broader set of nightly supplications from the Sunnah. Here are two companions worth learning alongside it:

DuaWhen to ReciteSource
اللَّهُمَّ قِنِي عَذَابَكَ يَوْمَ تَبْعَثُ عِبَادَكَ (Allahumma qini adhabaka yawma tab'athu ibadak) — "O Allah, protect me from Your punishment on the Day You resurrect Your servants"Recited three times when lying on the right sideSunan Abi Dawud 5045
اللَّهُمَّ أَسْلَمْتُ نَفْسِي إِلَيْكَ وَوَجَّهْتُ وَجْهِي إِلَيْكَ (Allahumma aslamtu nafsi ilayka wa wajjahtu wajhi ilayka) — "O Allah, I have surrendered myself to You and turned my face toward You"Opening of the longer bedtime supplicationSahih al-Bukhari 247

These duas connect to the broader framework of Islamic sleep etiquette — each one grounding a different dimension of the night in reliance on Allah. For additional supplications related to sleep and rest, see our guide to the dua for good sleep.

For a broader perspective on the spiritual dimensions of the Islamic night routine, SeekersGuidance offers extensive scholarly resources on sleep etiquette and its Islamic foundations.

Common Questions

Is it necessary to recite every part of the bedtime routine?

The bedtime duas are Sunnah — deeply recommended, carrying great reward — but not obligatory in the same way as prayer. Missing a night does not make you sinful. The goal is gradual, sustainable consistency. If you can do only the main dua tonight, do that. Build the full sequence over time.

Can the bedtime dua be recited in English?

The duas should be learned and recited in Arabic, since the Prophet ﷺ taught them in that form and the specific wording carries its own spiritual weight. If you are still learning Arabic, recite the Arabic text as best you can while reading the translation alongside it. Understanding what you are saying deepens the experience significantly.

What is the right order if I forget?

Start with wudu and Ayat al-Kursi — these are the most consistently emphasized. Then add the Three Quls. The Tasbeeh of Fatimah and the main bedtime dua follow naturally. As your practice deepens, the sequence becomes automatic and you will not need to think about order.

Does the bedtime routine change for travelers or those who are ill?

The essentials remain the same. A person who cannot make wudu due to illness may perform tayammum or begin the adhkar without it. The Prophet ﷺ himself continued the Three Quls practice during his final illness, with Aishah guiding his hands — a demonstration that the routine adapts to whatever one's circumstances allow.

Is listening to Quranic recitation a substitute for personal recitation?

Listening to Quran before sleep has its own spiritual benefit and many Muslims find it settling. However, the specific bedtime adhkar — particularly blowing the Three Quls over the hands — are personal acts performed by the individual. Listening is a supplement, not a replacement for the recitations described above.

Closing

Sleep is not a pause in your relationship with Allah. It is an extension of it. Every night that ends with Bismika Allahumma amutu wa ahya is a night you have consciously returned your soul to its Owner. Every morning that begins with Alhamdulillah alladhi ahyana is a morning you have received it back as a gift.

The prophetic bedtime routine takes less than five minutes. It covers purification, protection, gratitude, and surrender. The Prophet ﷺ maintained it through his final illness — which is a telling measure of its importance to him.

Begin tonight with what you can. One dua, done sincerely, is a beginning worth making.

Do you feel your duas are unanswered?

Have you read the dua properly? Learn authentic duas, understand their meanings, and call upon Allah with greater confidence through DeenUp.

Take the Dua Quiz
DeenUp app showing bite-sized Islamic lessons

Frequently Asked Questions

What is the dua before going to sleep in Islam?

The main dua before going to sleep is Bismika Allahumma amutu wa ahya (بِاسْمِكَ اللَّهُمَّ أَمُوتُ وَأَحْيَا) — In Your name, O Allah, I die and I live. It is recited when lying down, reported in Sahih al-Bukhari 6312. This short supplication frames sleep as a temporary death and waking as a renewed gift from Allah.

What is the complete prophetic bedtime routine?

The prophetic bedtime routine includes making wudu, lying on the right side, reciting Ayat al-Kursi (Surah Al-Baqarah, 2:255), blowing the Three Quls over the hands and wiping the body, reciting the Tasbeeh of Fatimah (33 SubhanAllah, 33 Alhamdulillah, 34 Allahu Akbar), and reciting the main bedtime dua. Each step is backed by authentic hadith.

Why do Muslims recite a dua before sleeping?

Muslims recite a dua before sleeping because the Quran describes sleep as the soul being taken by Allah and returned upon waking (Surah Az-Zumar, 39:42). The bedtime dua acknowledges that life and death are in Allah's hands, transforms the night into an act of worship, and asks for divine protection through the hours of unconsciousness.

Which surah should be recited before sleeping?

The Prophet (peace be upon him) recommended Ayat al-Kursi (Surah Al-Baqarah, 2:255) for protection through the night — a guardian from Allah will watch over you and no shaytan will approach until morning (Sahih al-Bukhari 3275). He also taught reciting Surah Al-Ikhlas, Al-Falaq, and An-Nas, blown into the hands and wiped over the body three times (Sahih al-Bukhari 5017).

What is the Tasbeeh of Fatimah before sleep?

The Tasbeeh of Fatimah is a dhikr the Prophet (peace be upon him) taught his daughter Fatimah when she asked for a servant to help with household work: 33 times SubhanAllah, 33 times Alhamdulillah, and 34 times Allahu Akbar — 100 total. He told her it is better than what she had asked for (Sahih Muslim 2727). It is traditionally recited while lying in bed before sleep.

Is wudu before sleeping a Sunnah?

Yes, making wudu before sleeping is an established Sunnah. The Prophet (peace be upon him) said: When you go to your bed, perform wudu as you do for prayer, then lie on your right side (Sahih al-Bukhari 247). Wudu before sleep is linked to the angels being present and the soul departing in a state of purity.

What if I fall asleep before finishing the bedtime adhkar?

Falling asleep during the bedtime adhkar is considered praiseworthy. If you begin the recitations with sincere intention and fall asleep mid-dhikr, you have fulfilled a meaningful part of the Sunnah. Begin with whatever you can — even one sincere recitation of the main dua before closing your eyes fulfills the prophetic practice.