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.
| Prayer | Fard | Sunnah (Hanafi) | Sunnah (Shafi‘i, Hanbali) | Nafilah (Jafari) |
|---|---|---|---|---|
| Fajr | 2 | 2 before | 2 before | 2 before |
| Dhuhr | 4 | 4 before, 2 after | 2 before, 2 after | 8 before |
| Asr | 4 | 4 before (optional) | 4 before (optional) | 8 before |
| Maghrib | 3 | 2 after | 2 after | 4 after |
| Isha | 4 | 2 after, then 3 witr | 2 after, then witr | 2 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
- Sahih al-Bukhari 350, Sahih Muslim 685 Aisha: prayer was first prescribed as two rak‘ahs; it stayed so when travelling and was increased when at home. This is why travellers shorten the 4-rak‘ah prayers to 2.
- Sahih Muslim 728, Tirmidhi 415 Twelve rak‘ahs of sunnah a day build a house in Paradise: 4 before Dhuhr and 2 after, 2 after Maghrib, 2 after Isha and 2 before Fajr.
- Sahih al-Bukhari 1180 Ibn Umar remembered ten rak‘ahs: 2 before Dhuhr and 2 after, 2 after Maghrib, 2 after Isha and 2 before Fajr.
- Abu Dawud 1271, Tirmidhi 430 May Allah have mercy on one who prays four rak‘ahs before Asr.
- Sahih Muslim 752 Witr is one rak‘ah at the end of the night.
- Wasa’il al-Shi‘a, vol. 4, p. 46 Imam al-Sadiq: the obligatory and voluntary prayers are 51 rak‘ahs: 17 obligatory and 34 voluntary, the 2 sitting after Isha counting as 1.
How one rak‘ah is prayed
The Prophet ﷺ said, “Pray as you have seen me pray.” When a man prayed too fast, he taught him the steps below.
- Stand facing the Qibla and say Allahu Akbar.
- Recite al-Fatiha and a part of the Quran.
- Bow (ruku) until you are at ease.
- Stand up straight again.
- Prostrate (sujud) until you are at ease, sit up calmly, then prostrate a second time. That completes one rak‘ah.
- Stand for the next rak‘ah and repeat.
- Sit for the tashahhud at the end of the prayer, and also after the second rak‘ah in prayers of three or four rak‘ahs. Finish with the salam.
- Sahih al-Bukhari 757, Sahih Muslim 397 A man who prayed too fast was told three times, “Go back and pray, for you have not prayed.” The Prophet ﷺ then taught him: say the takbir, recite from the Quran, bow until at ease, stand, prostrate until at ease, sit, and do the same in every rak‘ah.
- Sahih al-Bukhari 631 Pray as you have seen me praying.
The five daily prayers are obligatory
- Quran 4:103 Prayer has been decreed upon the believers at specified times.
- Sahih al-Bukhari 46, Sahih Muslim 11 A man asked what Allah has made obligatory for him. The Prophet ﷺ said: the five prayers in the day and night. The man asked if there was anything more, and he said: no, unless you wish to pray voluntarily.
Shortening the prayer when travelling
A traveller prays the four-rak‘ah prayers (Dhuhr, Asr and Isha) as two rak‘ahs. Fajr and Maghrib stay as they are. The distance that counts as a journey and the other conditions differ by school.
- Quran 4:101 When you travel through the land, there is no blame on you for shortening the prayer.
A missed prayer
If you forgot a prayer or slept through it, pray it as soon as you remember. The hadith says there is no expiation for it except to pray it.
- Sahih al-Bukhari 597, Sahih Muslim 684 Whoever forgets a prayer should pray it when he remembers it. There is no expiation for it except that.
Last updated: Saturday, 21 November 2026