Tahajjud, Duha and Tahiyyat al-Masjid in the Hanafi school

Prayers (Namaz) 9 min read

Nafl prayers are voluntary, and no one is sinful for leaving them. In the Hanafi school, Tahajjud is nafl, Duha is recommended (mustahab), and the greeting of the mosque (Tahiyyat al-Masjid) is a sunnah. Witr, which often goes with the night prayer, is wajib.

Allah (S.W.T) asks for the five daily prayers, and then invites us to give more. Prophet Muhammad ﷺ (pbuh) taught that extra prayers are a way to draw closer to Him. This article looks at three of them, and at how they support the fard prayers.

Where nafl sits in the Hanafi school

Hanafi texts sort prayers by rank. Apart from fard and wajib prayers, all other prayers are counted as voluntary (nafl) in fiqh. Sunnah prayers sit inside that wide group, and some are stronger than others.

Makruh matters here too. A prayer that is good in itself can become disliked if it is prayed at a disliked time. We will see this clearly with Tahiyyat al-Masjid.

Prayer Hanafi status Time Rakats
Tahajjud Nafl Night, before Fajr; best in the last third 2 to 8
Duha Recommended (mustahab) About 20 minutes after sunrise until just before zenith 2 to 12
Tahiyyat al-Masjid Sunnah On entering the mosque; avoid disliked times 2

Tahajjud: the night prayer

The time for Tahajjud runs from after Isha until the start of Fajr, and the best time is the last third of the night. Guides label its status in different ways. Some call it an emphasised sunnah, while others list it as a voluntary prayer. None of them call it fard.

Must you sleep first? A Hanafi answer on IslamQA says sleep is not a condition for the validity of Tahajjud, though it is better to sleep and then rise to pray. A Shafi’i answer on SeekersGuidance differs on the name only: prayer after waking at night is called Tahajjud, and prayer before sleep is not.

On the number of rakats, a Hanafi summary on SeekersGuidance says it is a minimum of two and a maximum of eight, with three more for witr, and it is best prayed two rakats at a time with one salam. Aisha (RA) described the Prophet’s ﷺ own habit as eight rakats of Tahajjud followed by three of witr, eleven in all. Hanafi scholars said a longer recitation is better than praying more rakats.

Witr and the night prayer

Witr is where the Hanafi detail matters most. The Hanafi school treats witr as operationally obligatory (fard ‘amali), so if it is missed it must be made up. The other three schools treat it as a confirmed sunnah.

A person who hopes to wake before Fajr can delay witr until after Tahajjud. That way witr closes the night’s prayer.

Duha: the forenoon prayer

The Fatawa al-Hindiyya, a major Hanafi reference, says Duha is a recommended prayer with a minimum of 2 rakats and a maximum of 12, and its time runs from sunrise to just before the sun reaches its zenith. Al-Haskafi and Ibn Abidin add that the minimum optimal amount is four rakats, since that was the Prophet’s ﷺ general practice.

You may hear two names, Ishraq and Chasht. Darul Ifta (daruliftaa.com) explains that the major Hanafi books do not list them as two prayers, and the answer concludes that Ishraq and Duha are one. Many people in the Indian subcontinent do treat them as two. The time begins about 20 minutes after sunrise, when the sun is a spear’s length above the horizon. Do not pray in the minutes just after sunrise, because that time is disliked.

It is more virtuous to pray Duha after a quarter of the day has passed. That time changes through the year, so it is worked out from the day’s sunrise and midday times.

Tahiyyat al-Masjid: greeting the mosque

SeekersGuidance describes it as a confirmed sunnah once a day, and recommended after that. Two rakats is the base. Al-Quhustani mentioned that it may be two or four rakats, and four is better.

The best moment is before you sit. Even so, the Hanafi texts say the sunnah is not lifted if you sit down, so you can still stand and pray. You also do not need a separate intention: praying the fard or another prayer takes its place even without intending it.

Disliked times

Here the Hanafi school gives a firm ruling. Ibn Abidin’s Radd al-Muhtar records that it is makruh (prohibitively) to pray it at disliked times, such as after the fard of Fajr until sunrise, at zenith, after the fard of Asr until Maghrib, and while the imam is on the minbar for the Friday sermon. In those times, the Hanafi practice is to sit without praying it.

Other scholars differ. A published Saudi fatwa holds that Tahiyyat al-Masjid is permitted at all times, even after Fajr and Asr. Their reason is that forbidden times restrict purely optional prayers that have no cause. This is a real difference between the schools, and it is fair to respect it.

How nafl supports the fard prayers

The Prophet ﷺ said that the first deed a servant is called to account for on the Day of Resurrection is his prayer. The report is in Jami at-Tirmidhi 413, and al-Tirmidhi called the Abu Hurayrah narration hasan gharib. It goes on to say that if the fard is lacking, Allah will look for voluntary prayers to make it complete. The sunnah and nafl prayers beside each fard prayer exist because the fard may have shortcomings.

Scholars read this carefully. Imam Bayhaqi held that a fard prayer that was missed altogether cannot be made up by nafl, and that the hadith speaks about defects in quality. Others say it is not impossible for Allah to cover both. Mufti Online (South Africa) notes that no number of nafl prayers is given for one fard.

So nafl is a mercy for a hurried or distracted fard, and it never replaces it. Nafl helps most when the fard is prayed on time first.

Real-life examples

  1. Sara wakes 25 minutes before Fajr. She has not prayed witr yet, so she prays 2 rakats of Tahajjud, then 3 rakats of witr, and makes dua.
  2. Omar enters the mosque after the Asr fard and sits with a book. Following the Hanafi position he does not pray Tahiyyat al-Masjid at that time. A friend who follows another school may pray it, and neither needs to argue about it.
  3. Hana finishes her night shift, and the sun rose 40 minutes ago. She prays 4 rakats of Duha, two at a time, before heading to bed.

From the Quran

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

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.

Surah Al-Israa (17:79) · Translation: Sahih International · Read on Quran.com

The verse speaks of praying through part of the night as something extra. The word used for “additional” is the same idea as nafl, which means a gift beyond what is required. The verse also gives hope: Allah (S.W.T) promises nothing that is not His to promise, but the verse links night prayer with the hope of a praised station.

Surah al-Isra (17:79) is addressed first to Prophet Muhammad ﷺ (pbuh). Muslims have long drawn on it as the root of Tahajjud, and the Hanafi texts above place it as nafl for the rest of us.

From the Hadith

أَفْضَلُ الصَّلاَةِ بَعْدَ الْفَرِيضَةِ صَلاَةُ اللَّيْلِ

Translation: The most excellent prayer after that which is obligatory is the (voluntary) late night prayer.

Sahih Muslim 1163 · Read on Sunnah.com

This hadith in Sahih Muslim (1163) ranks the night prayer as the best voluntary prayer, above all other nafl. It places that rank right after the fard, so the fard stays first.

It also fits the Hanafi picture. Tahajjud earns this place because it costs something: rising from rest, praying slowly, and standing alone before Allah (S.W.T). Two rakats prayed with presence are a good start.

What the scholars say

On status, the Hanafi school treats Tahajjud as nafl, Duha as recommended, and Tahiyyat al-Masjid as a sunnah. It treats witr as wajib. For the 2 to 8 rakats of Tahajjud, see the SeekersGuidance summary.

Where the schools differ, they differ on specific points. They disagree about the status of witr, and about praying Tahiyyat al-Masjid at disliked times. On whether sleep is part of the definition of Tahajjud, the Hanafi answer on IslamQA contrasts with the Shafi’i answer. For a ruling that fits your own case, ask a qualified scholar.

Putting it into practice

  • Start small: 2 rakats of Tahajjud before Fajr, or 2 rakats of Duha once the sun is well up.
  • If you plan to wake at night, leave witr until after your Tahajjud.
  • Greet the mosque with 2 rakats when you enter, unless it is a disliked time in the Hanafi school.
  • Pray the fard first. If the fard (other than Fajr) is about to start, do not begin sunnah or nafl if you fear missing even one rakat.
  • Ask a qualified scholar about missed fard or witr prayers and how to make them up.

Sources

This article is general Islamic education, not a personal fatwa. For your own situation, please ask a qualified scholar. Spotted a mistake? Tell us and we will fix it.

1 thought on “Tahajjud, Duha and Tahiyyat al-Masjid in the Hanafi school”

Leave a Comment