The Complete Guide to Night Prayer (Tahajjud, Witr and Bedtime Sunnahs)

⏱ 8 min read · The Akhirah Journal · Night Prayer Hub

The night is the quietest part of our day, and the moment Allah calls out to whoever is asking. This guide brings together everything about the night: tahajjud and witr, the last third of the night, Surah Al-Mulk before sleep, and a bedtime routine that also protects your Fajr.

✨ In short

The night prayer (qiyam al-layl or tahajjud) is the best prayer after the obligatory ones (Sahih Muslim 1163). It can be as short as two rak'at after Isha or before Fajr, ended with witr. The last third of the night is the most blessed time for dua. Before sleeping, reciting Surah Al-Mulk is a beloved practice: it intercedes for its reciter (Jami' at-Tirmidhi 2891, graded hasan).

In this guide

  1. Why the night prayer matters
  2. How to pray tahajjud
  3. Witr: closing your night
  4. The last third of the night
  5. Surah Al-Mulk before sleep
  6. A bedtime routine that protects Fajr
  7. All our night prayer articles
  8. FAQ

Why the night prayer matters

The Prophet ﷺ said that the best prayer after the obligatory prayers is the prayer at night (Sahih Muslim 1163).

"And from [part of] the night, pray with it as additional [worship] for you; it is expected that your Lord will resurrect you to a praised station."

Qur'an 17:79

How to pray tahajjud

Tahajjud is prayed in sets of two rak'at any time after Isha until Fajr, ideally after some sleep, and closed with witr. Start small: two rak'at before you sleep or ten minutes before Fajr is already a night prayer. Consistency matters more than length.

👉 Full guide: How to Pray Tahajjud: A Beginner's Guide (and How to Actually Wake Up)

Witr: closing your night

The Prophet ﷺ said: "Make witr the last of your prayer at night" (Sahih al-Bukhari 998, Sahih Muslim 751). Whoever fears not waking up at the end of the night should pray witr before sleeping, and whoever hopes to wake up should pray it at the end of the night, which is better (Sahih Muslim 755).

The last third of the night

Every night, in its last third, Allah descends to the lowest heaven and says: "Who is calling upon Me, that I may answer him? Who is asking of Me, that I may give him? Who is seeking My forgiveness, that I may forgive him?" (Sahih al-Bukhari 1145). Keep a short dua list by your bed so this time is never wasted.

Related: The Complete Guide to Dua and Islamic Journaling.

Surah Al-Mulk before sleep

The Prophet ﷺ said that a surah of thirty verses interceded for a man until he was forgiven, and that it is Tabarak, Surah Al-Mulk (Jami' at-Tirmidhi 2891, graded hasan). It is also reported that he would not sleep until he had recited Surah As-Sajdah and Surah Al-Mulk (Jami' at-Tirmidhi 2892), graded sahih by al-Albani, though some earlier hadith scholars considered its chain weak. It takes six to eight minutes: a gentle way to end your day.

👉 Full guide: Surah Al-Mulk Before Sleep: What's Authentic, What It Means and an Easy Bedtime Routine

A bedtime routine that protects Fajr

Your night prayer and your Fajr are decided at the same moment: when you go to bed.

  • Sleep earlier and put your phone away from your bed.
  • Read Al-Mulk and your evening adhkar.
  • Pray witr before sleeping if you are not sure to wake up.
  • Set your alarm 10 to 15 minutes before Fajr for two rak'at and a dua.

👉 How to Wake Up for Fajr Every Day: 9 Tips That Work · The Complete Guide to Salah

All our night prayer articles

Frequently asked questions

What is the difference between tahajjud and qiyam al-layl?

Qiyam al-layl means standing in prayer at night and covers any voluntary prayer between Isha and Fajr. Tahajjud usually refers to the night prayer prayed after waking from some sleep. Both are highly virtuous, and both are ended with witr.

How many rak'at is tahajjud?

There is no fixed minimum: you can pray as little as two rak'at. The Prophet (peace be upon him) usually prayed eleven rak'at at night including witr, prayed in sets of two. Start with two rak'at and add more as the habit grows.

Can I pray tahajjud without sleeping first?

Yes. Night prayer is valid any time after Isha until Fajr, before or after sleep. Praying after some sleep, in the last third of the night, is better, but praying two rak'at before bed is far better than not praying at night at all.

Is Surah Al-Mulk before sleep authentic?

Yes, with one nuance. The hadith that Al-Mulk, thirty verses, intercedes for its reciter is graded hasan (Jami' at-Tirmidhi 2891). The report that the Prophet (peace be upon him) would not sleep until he recited As-Sajdah and Al-Mulk (Jami' at-Tirmidhi 2892) is graded sahih by al-Albani, while some earlier hadith scholars considered its chain weak. Reciting it at night is good either way.

Premium Islamic Planner Notion template with a night prayer and sunnah tracker

Build your night routine

Track tahajjud, witr, Al-Mulk and your prayers in one calm Notion planner, with your progress calculated for you.

Get the Premium Islamic Planner

Written by Chaimaa, founder of Akhirah Planners. Sources: Qur'an and hadith as cited, with gradings. How we check our sources.