Published on

Dua for Sleeping: End Every Night with Allah on Your Lips

Authors
  • Ahmad
    Name
    Ahmad
    Role
    Senior Marketing Manager, Islamic education โ€ข Deen Back

ุจูุณู’ู…ู ุงู„ู„ู‡ู ุงู„ุฑูŽู‘ุญู’ู…ูฐู†ู ุงู„ุฑูŽู‘ุญููŠู’ู…ู

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

A peaceful bedroom with moonlight streaming through a window onto a neatly made bed with prayer beads on the nightstand

Every night, something profound happens. Your soul leaves your body. Your consciousness fades. You surrender completely to a state you cannot control.

Sleep is not just rest. In Islam, it is a minor death. And the Prophet (peace be upon him) did not approach sleep carelessly โ€” he had a deliberate routine, specific words, and a spiritual sequence that ensured he surrendered the night to Allah with full awareness.

Most of us collapse into bed, often with a phone in hand, our last thoughts on notifications and tomorrow's stress. The Sunnah invites us to something radically different: to end each day with Allah's name on our lips and protection surrounding us.

The Duas for Sleeping

The primary dua before sleeping:

ุจูุงุณู’ู…ููƒูŽ ุงู„ู„ูŽู‘ู‡ูู…ูŽู‘ ุฃูŽู…ููˆุชู ูˆูŽุฃูŽุญู’ูŠูŽุง

Bismika Allahumma amutu wa ahya.

"In Your name, O Allah, I die and I live." โ€” (Sahih al-Bukhari 6324)

This is the mirror of the dua for waking up. Before sleep, you surrender your life to Allah. Upon waking, you receive it back. Together, these two duas frame the entire cycle of sleep as a conscious, intentional act of surrender.

Dua against bad dreams and the Shaytan:

ุงู„ู„ูŽู‘ู‡ูู…ูŽู‘ ุฅูู†ูู‘ูŠ ุฃูŽุนููˆุฐู ุจููƒูŽ ู…ูู†ู’ ุนูŽุฐูŽุงุจู ุฌูŽู‡ูŽู†ูŽู‘ู…ูŽ ูˆูŽู…ูู†ู’ ุนูŽุฐูŽุงุจู ุงู„ู’ู‚ูŽุจู’ุฑู ูˆูŽู…ูู†ู’ ููุชู’ู†ูŽุฉู ุงู„ู’ู…ูŽุญู’ูŠูŽุง ูˆูŽุงู„ู’ู…ูŽู…ูŽุงุชู ูˆูŽู…ูู†ู’ ุดูŽุฑูู‘ ููุชู’ู†ูŽุฉู ุงู„ู’ู…ูŽุณููŠุญู ุงู„ุฏูŽู‘ุฌูŽู‘ุงู„ู

Allahumma inni a'udhu bika min 'adhabi jahannam, wa min 'adhabil-qabr, wa min fitnatil-mahya wal-mamat, wa min sharri fitnatil-masihid-dajjal.

"O Allah, I seek refuge in You from the punishment of Hell, the punishment of the grave, the trials of life and death, and the evil trial of the Antichrist." โ€” (Sahih Muslim 588)

Ayat al-Kursi (Surah Al-Baqarah 2:255) โ€” the Prophet (peace be upon him) said: "Whoever recites Ayat al-Kursi before sleeping, Allah will appoint a guardian over him and Shaytan will not come near him until morning." (Sahih al-Bukhari 5010)

When to say them: After lying down, before the eyes close. As part of the complete bedtime sequence.

The Story Behind the Bedtime Sunnah

The Companion Al-Bara' ibn 'Azib (may Allah be pleased with him) reported that the Prophet (peace be upon him) instructed him: "When you go to your bed, perform wudu as you would for prayer, then lie down on your right side. Then say: 'O Allah, I have surrendered my face to You, and I have entrusted my affair to You...'" The Prophet (peace be upon him) said that if you die that night, you will die in the natural state (fitrah). And if you wake up, you will wake up having attained good. (Sahih al-Bukhari 247)

The Prophet (peace be upon him) also taught his daughter Fatimah (may Allah be pleased with her) and Ali (may Allah be pleased with him) to say SubhanAllah 33 times, Alhamdulillah 33 times, and Allahu Akbar 34 times before sleeping โ€” saying this is better than a servant (i.e., better than worldly comfort). (Sahih al-Bukhari 3113)

This matters: the Prophet (peace be upon him) was giving his daughter spiritual currency, not comfort. The last thoughts of your day shape your subconscious. What do you want your mind working through while you sleep?

How to Build a Bedtime Dua Habit

The complete Sunnah bedtime routine sounds long when listed. In practice, it takes about 5-7 minutes. Here is how to implement it without feeling overwhelmed.

Start with just two things:

If you do nothing else, do these two before sleeping:

  1. Say Bismika Allahumma amutu wa ahya
  2. Recite Ayat al-Kursi

Two actions. Thirty seconds. Life-changing over time.

Then build the full sequence:

Once the minimum is automatic (usually after 2-3 weeks), add the full sequence:

  1. Perform wudu
  2. Lie on your right side, right hand under right cheek
  3. The three Tasbihat (SubhanAllah x33, Alhamdulillah x33, Allahu Akbar x34)
  4. The three Quls: Surah Al-Ikhlas (112), Al-Falaq (113), An-Nas (114) โ€” three times each, blow into hands, wipe over body
  5. Ayat al-Kursi (Surah Al-Baqarah 2:255)
  6. Bismika Allahumma amutu wa ahya

The phone is your biggest enemy here:

The bedtime dua habit fails almost entirely because of one thing: the phone in bed. The blue light, the stimulation, the scrolling โ€” all of it fights against both sleep quality and the spiritual routine.

The rule: phone off before the bedtime routine begins. Not after. Before.

Put it across the room if needed. The Prophet (peace be upon him) disliked conversation after Isha (Sahih al-Bukhari 568). The modern equivalent is scrolling social media until 1 AM.

Track your streak:

The bedtime routine is one of the most impactful habits you can build โ€” not just spiritually, but practically. Better sleep improves your Fajr, your focus, your mood, and your ability to control your nafs throughout the day. Everything good in your day is seeded the night before.

Build Your Bedtime Dua Routine

Track your bedtime adhkar, monitor your sleep habits, and build the nightly routine that protects you and prepares you for a powerful morning.

Download on the App StoreGet it on Google Play

Free download. Premium features available in-app.

The Connection Between Bedtime and Fajr

Here is something most people miss: your Fajr prayer begins with your bedtime.

If you sleep at 2 AM, Fajr at 5 AM is brutal. You hit snooze, miss the prayer, feel guilty, and start the day disconnected from Allah. The cycle repeats.

The Prophet (peace be upon him) sleeping after Isha (roughly 8-9 PM in his time) and waking for tahajjud in the last third of the night is not an accident. It is a system. The bedtime routine supports the sleep quality. The early sleep supports the early wake. The early wake supports Fajr.

Your bedtime duas are not just about tonight. They are about tomorrow morning's prayer, tomorrow's focus, and tomorrow's ability to face your nafs.

Upon having a bad dream โ€” the Prophet (peace be upon him) said: "Spit dryly to your left three times, seek refuge in Allah from Shaytan, and change your position." (Sahih Muslim 2262)

Dua when you cannot sleep:

ุงู„ู„ูŽู‘ู‡ูู…ูŽู‘ ุบูŽุงุฑูŽุชู ุงู„ู†ูู‘ุฌููˆู…ู ูˆูŽู‡ูŽุฏูŽุฃูŽุชู ุงู„ู’ุนููŠููˆู†ู ูˆูŽุฃูŽู†ู’ุชูŽ ุญูŽูŠูŒู‘ ู‚ูŽูŠูู‘ูˆู…ูŒ

Allahumma gharat an-nujumu wa hada'at al-'uyunu wa anta hayyun qayyum.

"O Allah, the stars have set and the eyes have rested, while You are the Ever-Living, the Sustainer." โ€” (Abu Dawud and Al-Nasa'i)

Pair your bedtime practice with your morning routine for a complete day-night spiritual framework.

Common Questions

What if I forget the bedtime duas?

Start fresh the next night. Missing one night is not failure โ€” it is human. The goal is a consistent streak, not perfection. If you miss, you simply return without guilt. Guilt is a nafs trick to make you give up. The Prophet (peace be upon him) said: "The deeds most beloved to Allah are those done consistently, even if they are small." (Sahih al-Bukhari 6465)

Do I have to do the three Quls in Arabic?

Yes, for these to carry the specific spiritual benefit described in the hadith, the Arabic should be used. However, if you are a new Muslim or still learning, reading from a transliteration while memorizing is acceptable. Start the Arabic memorization immediately โ€” these are short surahs and can be learned within a week.

Can I do the bedtime routine while lying down?

Yes. The Prophet (peace be upon him) instructed lying on the right side as part of the routine. You perform the wudu standing, then complete the duas and recitations while lying down. This is the Sunnah sequence.

I keep falling asleep before finishing. Is that okay?

Yes. Many scholars say that if you fall asleep while engaged in dhikr, the reward continues. Start with the most important items: the short dua and Ayat al-Kursi. Build from there. With consistency, the routine becomes natural and quick, and you will rarely fall asleep mid-way.

Closing

The night is not dead time. It is active spiritual protection. The duas before sleeping are armor โ€” they surround you with Allah's remembrance in a state you cannot protect yourself.

Five minutes before your eyes close. That is all it takes to transform your nights from mindless collapse into conscious surrender.

Start tonight. Say Bismika Allahumma amutu wa ahya. Recite Ayat al-Kursi. Put your right hand under your right cheek. And let Allah be the last thought in your mind before everything goes quiet.

Track Your Nightly Adhkar

Build the bedtime Sunnah into a daily habit. Track your nightly duas, monitor your consistency, and wake up spiritually protected every morning.

Download on the App StoreGet it on Google Play

Free download. Premium features available in-app.

Frequently Asked Questions

What is the dua for sleeping in Islam?

The primary dua before sleeping is: Bismika Allahumma amutu wa ahya โ€” In Your name, O Allah, I die and I live (Sahih al-Bukhari 6324). This acknowledges that sleep is a minor death and surrender to Allah. The Prophet (peace be upon him) also recommended reciting Ayat al-Kursi, the three Quls (Surahs 112, 113, 114), and blowing into the hands before sleeping.

What Surah should I recite before sleeping?

The Prophet (peace be upon him) recommended reciting Ayat al-Kursi (Surah Al-Baqarah 2:255) before sleeping, saying it provides protection until morning. He also recommended reciting Surah Al-Ikhlas, Al-Falaq, and An-Nas (the three Quls) three times each, blowing into the hands, and wiping over the body.

What position should I sleep in according to the Sunnah?

The Sunnah is to sleep on your right side, placing your right hand under your right cheek. The Prophet (peace be upon him) said to someone: When you go to your bed, perform wudu as you do for prayer, then lie on your right side (Sahih al-Bukhari 247). Sleeping on the right side is also endorsed by modern medicine for better digestion.

Should I be in wudu before sleeping?

Yes, the Prophet (peace be upon him) recommended being in a state of wudu before sleep. This adds a spiritual dimension to the night and is especially important if you wish to pray tahajjud, as you are already in a state of purity. It is part of the full bedtime routine described in the Sunnah.

What if I fall asleep before finishing the bedtime duas?

This happens to most people. Start with the most important: the short dua Bismika Allahumma amutu wa ahya and Ayat al-Kursi. If you fall asleep mid-adhkar, your intention counts. With practice, the bedtime routine becomes faster and more automatic. Start small and build up.