← Muhasaba

Night practice

Bedtime Prayers: The Islamic Night Routine Before Sleep

The Prophet ﷺ treated the hour before sleep as a small ritual, not a casual collapse into bed. The bedtime prayers he taught were deliberate: a closing of the day's accounts, a handing of the night to Allah, and a protection over the body while it slept.

By Zaman Ishtiyaq · August 2026

Definition

Bedtime prayers are the supplications and remembrances the Prophet ﷺ taught for the night. The complete Islamic bedtime routine moves through four movements: purify (wudu), protect (the surahs and duas), close the accounts (the dhikr of Fatimah), and hand over (the final sleep dua).

The complete routine is short — most of it fits in five minutes — but it is layered. Here is the whole sequence, in order, with what each piece does and why it belongs.

The shape of the prophetic bedtime

01

Purify

Wudu before bed.

02

Protect

The surahs and duas that guard the night.

03

Close the accounts

The dhikr that settles the day.

04

Hand over

The final dua that places the night in Allah's hands.

Step 1: Make wudu before bed

"Whoever goes to bed in a state of purity is as if he stood in prayer the whole night."

— Reported by Ibn Hibban (hasan)

Wudu before bed is not about hygiene. It is a transition. It marks the boundary between the day's activity and the night's rest, and it places the person sleeping into a state of ritual readiness.

Step 2: Clear the bed and sleep on your right side

The Prophet ﷺ taught two physical habits alongside the duas. He would shake out his bed before lying on it, and he recommended sleeping on the right side:

"When you come to your bed, perform wudu, dust off your bed, then lie on your right side."

— Sahih al-Bukhari 247

Step 3: Recite the protective surahs

"When you go to your bed, recite Ayatul Kursi... and Surah Al-Ikhlas, Surah Al-Falaq, and Surah An-Nas, blow into your hands, and wipe over your body."

— Sahih al-Bukhari 5017

The method: recite Surah Al-Ikhlas, Al-Falaq, and An-Nas three times each. After each recitation, blow gently into your cupped palms and wipe the hands over your face and as much of your body as you can reach. These three surahs are called the mu'awwidhat, the protective surahs.

Step 4: Recite Ayatul Kursi

The Throne Verse (Surah Al-Baqarah 2:255) carries a specific promise for the night. The Prophet ﷺ said to the one who recited it before sleeping: "Allah has a guardian appointed over you, and no devil will approach you until the morning." (Bukhari 2311)

Step 5: The last two verses of Surah Al-Baqarah

The Prophet ﷺ taught that whoever recites the last two verses of Surah Al-Baqarah at night is granted protection: "These two verses will suffice him." (Bukhari 4009) They are longer than the quls, and many Muslims begin by reciting them from a mushaf until memorised.

Step 6: The dhikr of Fatimah

SubhanAllah (33) · Alhamdulillah (33) · Allahu Akbar (34)

"This is better for you than a servant." — Sahih al-Bukhari 3118

This is the closing dhikr — the accounting of the day settled in praise. SubhanAllah clears the heart of what went wrong. Alhamdulillah acknowledges what went right. Allahu Akbar places the whole day under the greatness of Allah.

Step 7: The sleep dua

Bismika allahumma amutu wa ahya

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

On waking, he completed it: "Alhamdulillahil-ladhi ahyana ba'da ma amatana wa ilayhin-nushur." Each sleep is a small death, each waking a small resurrection.

Step 8: Surah Al-Mulk for those who keep it

Many Muslims add the nightly recitation of Surah Al-Mulk, the surah the Prophet ﷺ never slept without. Its virtues are well-attested: it intercedes for its reciter and protects from the punishment of the grave. Its themes are the perfect closing thought of the day.

The full bedtime routine in one list

01

Make wudu before bed

02

Dust off the bed

03

Recite Al-Ikhlas, Al-Falaq, and An-Nas three times each; blow and wipe

04

Recite Ayatul Kursi

05

Recite the last two verses of Surah Al-Baqarah

06

Say SubhanAllah 33, Alhamdulillah 33, Allahu Akbar 34

07

Say "Bismika allahumma amutu wa ahya"

08

Lie on your right side

09

Optional: recite Surah Al-Mulk

Why the bedtime routine matters

The bedtime prayers are not a checklist to complete. They are the conclusion of the day's spiritual accounting. The scholars taught that muhasaba, the nightly self-accounting, naturally happens in this window: you review the day before Allah, repent where you fell short, and then hand the night over to Him in the duas. What is Muhasaba? explains the practice in full.

The routine gives the review its structure. The duas for sleep guide covers each dua in detail with Arabic and translation, and the evening adhkar cover the hour before this.

Start with one step tonight

Do not attempt all nine steps on the first night. Start with the one that is easiest for you and build from there. The single most effective starting point is the closing dhikr of Fatimah, or the short sleep dua. One consistent practice beats a complete routine you cannot sustain.

The Prophet ﷺ said: "The most beloved action to Allah is the one that is most consistent, even if it is small." (Bukhari 6464) The bedtime routine is a set of small actions, done consistently, every night.

Close your night

Close your night with reflection and dhikr — free on iOS.

The Muhasaba app guides the nightly reflection in five minutes — written or spoken, with a verse for the night and a dhikr to finish.

Download on the App Store

New to muhasaba? Learn what muhasaba al-nafs means →