Published on

Dua Before Sleeping: Islamic Bedtime Routine

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

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

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

A peaceful nighttime scene with prayer beads and soft candlelight representing Islamic bedtime duas

The minutes before sleep are easy to waste. The phone comes out, thoughts race through the day, and consciousness drifts away without intention. The Prophet Muhammad ﷺ modeled something different: a deliberate sequence of supplications and remembrance that hands the night over to Allah before sleep arrives. These practices are not complicated or time-consuming — most take under five minutes — but they transform sleep from something passive into one of the most spiritually intentional moments of the day.

What Is the Dua Before Sleeping in Islam?

The Islamic bedtime routine centers on reciting Ayat al-Kursi, the three Quls (Surahs 112–114), and the dua Bismika Allahumma amutu wa ahya — "In Your name, O Allah, I die and I live" (Sahih al-Bukhari 6312). Together with the Tasbeeh of Fatimah (SubhanAllah 33 times, Alhamdulillah 33 times, Allahu Akbar 34 times), these form a complete pre-sleep dhikr that the Prophet practiced consistently and taught his companions.

The Main Dua Before Lying Down

As you settle onto your right side to sleep, the Prophet ﷺ taught:

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

Bismika Allahumma amutu wa ahya

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

This single sentence reframes sleep entirely. The Quran describes sleep as a form of wafat (taking of the soul): "Allah takes the souls at the time of their death, and those that have not died during their sleep" (Surah Az-Zumar, 39:42). By naming death and life together, you acknowledge that both are in the hands of Allah — and that waking up is a gift, not a given.

When you open your eyes in the morning, pair this with its companion dua:

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

Alhamdulillahilladhi ahyana ba'da ma amatana wa ilayhin nushur

"All praise is for Allah who gave us life after having taken it from us, and unto Him is the resurrection." — (Sahih al-Bukhari 6325)

For more on waking supplications, see our guide to dua for waking up.

Why Ayat al-Kursi Matters Before Sleep

Abu Hurairah (may Allah be pleased with him) narrated that the Prophet ﷺ directly confirmed the spiritual protection of Ayat al-Kursi at night. When Abu Hurairah caught a thief stealing from the charity stores three times, the thief turned out to be a devil who taught him Ayat al-Kursi in exchange for being released. The Prophet ﷺ confirmed: "He has told you the truth, though he is a liar. If you recite Ayat al-Kursi before sleeping, Allah will appoint a protector over you and Shaytan will not come near you until morning" (Sahih al-Bukhari 2311).

Ayat al-Kursi is Surah Al-Baqarah (2:255) — the Verse of the Throne — describing Allah's complete sovereignty and knowledge over all of creation. Reciting it before sleep is a declaration that the One who neither slumbers nor sleeps is watching over you while you do.

The Three Quls: Protection Through Recitation

The Prophet ﷺ used to recite Surah Al-Ikhlas (112), Surah Al-Falaq (113), and Surah An-Nas (114) — the Mu'awwidhatayn plus Al-Ikhlas — three times each before sleeping. After each round, he would blow gently into his cupped hands and wipe over his entire body, beginning with his face and head (Sahih al-Bukhari 5016).

Aisha (may Allah be pleased with her) narrated that during his final illness, when the Prophet ﷺ was too weak to complete this himself, she would recite the three surahs, blow into her own hands, and then wipe over his body (Sahih al-Bukhari 5735). This tells us two things: the practice was considered important enough to maintain even during severe illness, and it can be performed for loved ones who are unable.

The Tasbeeh of Fatimah

When Fatimah (may Allah be pleased with her), daughter of the Prophet ﷺ, asked for a servant to help with the demanding work of the household, her father came to her home and sat between her and her husband Ali. He said: "Shall I not tell you something better than what you asked for?"

He then taught her to say:

  • سُبْحَانَ اللَّه (SubhanAllah) — Glory be to Allah — 33 times
  • الحَمْدُ لِلَّهِ (Alhamdulillah) — All praise is for Allah — 33 times
  • اللَّهُ أَكْبَر (Allahu Akbar) — Allah is the Greatest — 34 times

"This is better for you than a servant," he told her (Sahih al-Bukhari 3113).

This tasbeeh — known as the Tasbeeh of Fatimah — has been practiced by Muslims every night for over 1,400 years. Where physical assistance addresses the burden of the body, dhikr addresses the state of the heart.

Bedtime Adhkar at a Glance

PracticeWhat to SayRepetitionsSource
Ayat al-KursiSurah Al-Baqarah 2:255OnceBukhari 2311
Three QulsSurahs 112, 113, 114 (blow + wipe body)3 times eachBukhari 5016
TasbeehSubhanAllah / Alhamdulillah / Allahu Akbar33 / 33 / 34Bukhari 3113
Sleeping duaBismika Allahumma amutu wa ahyaOnceBukhari 6312
PositionRight side, right hand under right cheekBukhari 247

How to Build a Consistent Bedtime Dhikr Habit

Knowing the practices is only half the work. The other half is making them automatic — a reflex that happens even on the nights when you are exhausted, distracted, or simply not feeling it.

Attach it to a physical cue. The moment you turn off the bedroom light, begin with Ayat al-Kursi. The darkness becomes the trigger. Repeat this connection for two weeks and the cue will start doing the work for you.

Start with one, not all. If memorizing everything at once feels like too much, begin with just Ayat al-Kursi. Once that is reliable, add the three Quls. Then the Tasbeeh. Then the sleeping dua. Layering practices one at a time is more sustainable than attempting the full sequence from day one and abandoning it when life gets busy.

Put the Arabic text somewhere visible. A card on the nightstand or a short-form note on your phone means you never miss because you forgot the words. DeenBack's guide on Tahajjud and night prayer is worth reading alongside this — it shows how building a strong bedtime routine actually makes waking for tahajjud far more achievable.

Track your streak. Even a simple tally on paper builds momentum. Missing one night matters less when you can see a week or a month of consistency behind you.

Never miss your bedtime duas

DeenUp sends personalized reminders for evening adhkar so your nightly routine stays consistent — even on your busiest days. Track your dhikr and build streaks that keep you accountable.

Join the DeenUp waitlist

What the Sunnah of Sleeping Adds to the Routine

The bedtime adhkar exist within a broader sunnah of sleeping that includes physical preparation. The Prophet ﷺ recommended performing wudu before lying down: "When you intend to go to bed, perform wudu as you do for salah" (Sahih al-Bukhari 247). He also instructed sleeping on the right side, placing the right hand under the right cheek.

These are not arbitrary rituals. Wudu keeps your body in a state of ritual purity so that if you wake during the night, you are already prepared for prayer. The right-side position is consistent with prophetic medicine and has been noted by scholars for its physical and spiritual appropriateness.

For a deeper dive into the full practice of daily Islamic remembrance, our guides on evening adhkar in Islam and morning adhkar in Islam cover the adhkar that bookend the sleeping dua — the ones you say as the sun sets and as it rises. And if you want to understand why consistent dhikr is described in the Quran as the heart's true rest, start with the importance of dhikr.

Demi Manifest's piece on night prayer habits approaches the practical side of this — how adjusting your sleep schedule and environment makes the pre-Fajr window achievable rather than heroic. The bedtime adhkar and waking for tahajjud are connected: the sunnah of sleeping sets up the sunnah of the night.

For additional Islamic scholarly context on sleep in Islam, see resources at Yaqeen Institute and verified hadith references at Sunnah.com.

For the companion guide on the full dua said at the moment of sleep, see dua for sleeping.

Build your Islamic evening routine

From evening adhkar to bedtime duas, DeenUp helps you close each day with intentional remembrance. Daily reminders, habit tracking, and the complete sunnah of sleeping — all in one place.

Join the DeenUp waitlist

Frequently Asked Questions

What is the main dua before sleeping in Islam?

The main dua before sleeping is Bismika Allahumma amutu wa ahya — In Your name, O Allah, I die and I live (Sahih al-Bukhari 6312). The Prophet recited this as he lay on his right side, acknowledging that sleep is a minor death and waking is entirely by the will of Allah.

Should I recite Ayatul Kursi before sleeping?

Yes. The Prophet confirmed that reciting Ayat al-Kursi (Surah Al-Baqarah, 2:255) before sleeping means Allah appoints a guardian over the sleeper so that Shaytan cannot approach. This is reported in Sahih al-Bukhari 2311 and is one of the most important pre-sleep adhkar.

How many times should I recite the three Quls before sleeping?

The Prophet recited Surah Al-Ikhlas, Al-Falaq, and An-Nas three times each before sleeping, then blew into his cupped hands and wiped over his body starting from his face and head. This is recorded in Sahih al-Bukhari 5016 and is a confirmed sunnah of the bedtime routine.

What is the Tasbeeh of Fatimah and when do I recite it?

The Tasbeeh of Fatimah is saying SubhanAllah 33 times, Alhamdulillah 33 times, and Allahu Akbar 34 times before sleeping. The Prophet taught this to his daughter Fatimah when she requested household help, telling her it was better than a servant (Sahih al-Bukhari 3113).

Is performing wudu before sleep a sunnah?

Yes, performing wudu before sleeping is a confirmed sunnah. The Prophet instructed: When you intend to sleep, perform wudu as you do for salah, then lie on your right side (Sahih al-Bukhari 247). It is not obligatory but was the consistent practice of the Prophet.

What dua do I say when I wake up in the middle of the night?

When waking at night, the Prophet recommended saying La ilaha illallah wahdahu la sharika lah, lahul mulku wa lahul hamdu wa huwa ala kulli shay in qadir. Whoever says this sincerely and then makes dua will have their supplication accepted (Sahih al-Bukhari 1154).

Can I say the bedtime duas in my own language if I do not know Arabic?

You may make personal supplications in your own language while you memorize the Arabic. Scholars recommend learning the Arabic text because the specific wording narrated from the Prophet carries its own spiritual weight and sunnah reward that general supplications do not replace.