How many rak‘ahs in each prayer

All schools agree on 17 obligatory (fard) rak‘ahs a day. The voluntary prayers around them differ by school.

PrayerFardSunnah (Hanafi)Sunnah (Shafi‘i, Hanbali)Nafilah (Jafari)
Fajr22 before2 before2 before
Dhuhr44 before, 2 after2 before, 2 after8 before
Asr44 before (optional)4 before (optional)8 before
Maghrib32 after2 after4 after
Isha42 after, then 3 witr2 after, then witr2 after, sitting (count as 1)

Night prayer: Witr is 3 rak‘ahs and wajib in the Hanafi school; at least 1 rak‘ah and sunnah in the Shafi‘i, Maliki and Hanbali schools. In the Jafari school the night prayer is 11 rak‘ahs: 8, then 2 (shaf‘), then 1 (witr). The Maliki school holds similar sunnah prayers and stresses the 2 before Fajr.

References

Last updated: Tuesday, 6 October 2026

Settings