Fiqh · Fasting, Ramadan and Eid
Tahajjud: its ruling, time and number of rak'ahs
What the four schools of Islamic law hold on tahajjud, from al-Mawsu'ah al-Fiqhiyyah, the Kuwaiti Encyclopedia of Islamic Jurisprudence: 11 views, each with the Encyclopedia's own Arabic words and where they are.
The English is a summary of the Arabic, written with AI and checked against it automatically.
For your own situation, ask a scholar you trust.
The ruling of tahajjud
In short
- Other scholarsrecommended
- Other scholarsdisputed (obligatory or supererogatory)
- Other scholars
Is tahajjud (night prayer after sleep) recommended for the Muslim community? Yes, it is recommended (masnun) for the community.
Applies when: for the Muslim community (al-ummah)
The Arabic
التهجد مسنون في حق الأمة
al-Mawsu'ah al-Fiqhiyyah, volume 14, entry «تهجد», paragraph 4
- Other scholars
Is tahajjud obligatory for the Prophet Muhammad? Scholars differ: some say it was obligatory for him, others say it was supererogatory.
Applies when: for the Prophet ﷺ
The Arabic
أما في حق النبي ﷺ فقد اختلف العلماء في وجوبه أو نفله على قولين
al-Mawsu'ah al-Fiqhiyyah, volume 14, entry «تهجد», paragraph 4
Its time
In short
- HanafiShafi'ibetter (middle third)
- HanafiShafi'iHanbalibest (fourth and fifth sixth of the night)
- Malikibest (last third of the night)
- Malikibetter (beginning of the night)
- HanafiShafi'i
According to the Hanafis and Shafi'is, if someone splits the night into thirds, praying one and sleeping two, the middle third is better than the first or the last.
Applies when: if one divides the night into three parts, praying one third and sleeping two thirds
The Arabic
قال الحنفية والشافعية: لو أراد أن يجعله أثلاثا فيقوم ثلثه وينام ثلثيه، فالثلث الأوسط أفضل من طرفيه
al-Mawsu'ah al-Fiqhiyyah, volume 14, entry «تهجد», paragraph 5
- HanafiShafi'iHanbali
According to the Hanafis, Shafi'is, and Hanbalis, the best time for tahajjud in absolute terms is the fourth and fifth sixth of the night.
Applies when: absolutely (مطلقا)
The Arabic
والأفضل مطلقا عند الحنفية والشافعية والحنابلة السدس الرابع والخامس من الليل
al-Mawsu'ah al-Fiqhiyyah, volume 14, entry «تهجد», paragraph 5
- Maliki
According to the Malikis, the best time for tahajjud is the last third of the night for one whose habit is to wake up at the end of the night.
Applies when: for one whose habit is to wake up at the end of the night
The Arabic
وأما المالكية فأفضله عندهم ثلثه الأخير لمن تكون عادته الانتباه آخر الليل
al-Mawsu'ah al-Fiqhiyyah, volume 14, entry «تهجد», paragraph 5
- Maliki
According to the Malikis, for one who usually does not wake up at the end of the night but rather sleeps until dawn, it is better to perform tahajjud at the beginning of the night as a precaution.
Applies when: for one whose usual state is not to wake up at the end of the night, i.e. mostly sleeps until dawn
The Arabic
أما من كان غالب حاله أن لا ينتبه آخره بأن كان غالب أحواله النوم إلى الصبح، فالأفضل أن يجعله أول الليل احتياطا
al-Mawsu'ah al-Fiqhiyyah, volume 14, entry «تهجد», paragraph 5
How many rak'ahs
In short
- All agreeminimum is two light rak'ahs
- Hanafimaximum is eight rak'ahs
- Malikimaximum is ten or twelve rak'ahs
- Shafi'iHanbalino fixed limit
- All agree
The jurists agreed that the minimum number of rak'ahs for tahajjud is two light rak'ahs.
The Arabic
اتفق الفقهاء على أن أقلها ركعتان خفيفتان
al-Mawsu'ah al-Fiqhiyyah, volume 14, entry «تهجد», paragraph 6
- Hanafi
According to the Hanafis, the maximum number of rak'ahs for tahajjud is eight rak'ahs.
The Arabic
فقال الحنفية: منتهى ركعاته ثماني ركعات
al-Mawsu'ah al-Fiqhiyyah, volume 14, entry «تهجد», paragraph 6
- Maliki
According to the Malikis, the maximum number of rak'ahs for tahajjud is ten or twelve rak'ahs.
The Arabic
وقال المالكية: أكثره عشر ركعات أو اثنتا عشرة ركعة
al-Mawsu'ah al-Fiqhiyyah, volume 14, entry «تهجد», paragraph 6
- Shafi'iHanbali
According to the Shafi'is and what is taken from the expressions of Hanbali jurists, there is no fixed limit to the number of rak'ahs for tahajjud.
The Arabic
وقال الشافعية: لا حصر لعدد ركعاته وهو ما يؤخذ من عبارات فقهاء الحنابلة
al-Mawsu'ah al-Fiqhiyyah, volume 14, entry «تهجد», paragraph 6
Leaving off tahajjud one usually prays
- Other scholars
Is it disliked for someone used to praying tahajjud to give it up without an excuse? Yes, it is disliked.
Applies when: for someone accustomed to tahajjud who abandons it without an excuse
The Arabic
يكره لمن اعتاد التهجد أن يتركه بلا عذر
al-Mawsu'ah al-Fiqhiyyah, volume 14, entry «تهجد», paragraph 8