Qiyam al-Layl

Tahajjud — the night prayer

A complete guide to the believer's most intimate prayer. How to wake up, when to pray, how many rakats, what to recite — and the practical advice of the Prophet ﷺ for never missing it.

وَمِنَ اللَّيْلِ فَتَهَجَّدْ بِهِ نَافِلَةً لَّكَ عَسَىٰ أَن يَبْعَثَكَ رَبُّكَ مَقَامًا مَّحْمُودًا

“And in part of the night, stand up (in prayer) as an extra offering; perhaps your Lord will raise you to a praised station.”

— Qur'an, Surah Al-Isra (17), verse 79

The three thirds of the night

In Islam the “night” runs from sunset (Maghrib) to the appearance of dawn (Fajr). It divides into three equal parts:

1

First third

The extended Isha period. The Isha prayer, plus Witr if you fear you will not wake.

e.g. 9 pm - midnight

2

Second third

Deep sleep. A ritually neutral period.

e.g. midnight - 2:40 am

3

Last third

The BEST time for Tahajjud. Allah descends to the lowest heaven and answers the supplications.

e.g. 2:40 - 5:20 am

The shape of the prayer (the Sunnah of the Prophet ﷺ)

1
A complete wudu

If possible, use the siwak to clean the teeth — a Sunnah on waking.

2
Two short rakats

Al-Fatiha plus a short surah (Al-Kafirun in the first, Al-Ikhlas in the second). This is the recommended “opening prayer”.

3
Two medium or long rakats

Al-Fatiha plus a longer surah. Repeat in pairs as long as you can (4, 6, 8 or 10 rakats in total).

4
Witr — the last prayer

Close with Witr: three rakats (the most common). In the third rakat, after the recitation and before the ruku, make the Qunut (a supplication with raised hands).

Du'a Qunut (the supplication of Witr)

اللَّهُمَّ اهْدِنِي فِيمَنْ هَدَيْتَ، وَعَافِنِي فِيمَنْ عَافَيْتَ، وَتَوَلَّنِي فِيمَنْ تَوَلَّيْتَ، وَبَارِكْ لِي فِيمَا أَعْطَيْتَ

Allahumma ihdini fiman hadayt, wa ʿafini fiman ʿafayt, wa tawallani fiman tawallayt, wa barik li fima aʿtayt…

“O Allah, guide me among those You have guided, grant me well-being among those You have granted well-being, take me into Your care among those You have taken into Your care, bless me in what You have given me…”

— Abu Dawud 1425, Tirmidhi 464 (sahih)

Ten tips for not missing Tahajjud

  • 1Sleep EARLY after Salat al-Isha — avoid screens until midnight.
  • 2Make a sincere intention (niyya) BEFORE sleeping: “O Allah, wake me for Tahajjud”.
  • 3Avoid heavy meals in the evening — heavy digestion prevents waking.
  • 4Recite the last three surahs (Mu'awwidhat) and Ayat al-Kursi before sleeping.
  • 5Recite the last two verses of Al-Baqara (285-286) before sleeping.
  • 6Set two or three alarms with different tones.
  • 7Put the phone OUT of the bed, at a distance (it forces you to get up).
  • 8Drink a glass of water on waking and wash your face.
  • 9Start with two short rakats even when tired — the inertia fades afterwards.
  • 10Over a week, aim for three or four Tahajjud at least — regularity beats perfection.

The merits of Tahajjud

A praised station

Qur'an 17:79

Allah promises “a praised station” (maqam mahmud) to those who pray at night — the station of intercession the Prophet ﷺ will hold on the Day of Judgement.

The hour when Allah descends

Bukhari 1145, Muslim 758

“Our Lord descends every night to the lowest heaven when the last third of the night remains, saying: Who calls upon Me, that I may answer him?”

The best voluntary prayer

Muslim 1163

“The best prayer after the obligatory ones is the prayer of the night.”

The habit of the righteous

Tirmidhi 3549

“Hold fast to Qiyam al-Layl, for it was the way of the righteous before you, a means of nearness to your Lord, an expiation for sins and a protection from evil.”

A smart Tahajjud alarm in BasiraLife

An automatic alarm for the last third of the night, calculated from your location, a du'a reminder before sleep, streak tracking for Tahajjud, and a playlist of long recitations (Al-Afasy, Ramadan) to accompany your prayer.

Turn on Tahajjud