Muslims pray five times a day, but Islamic prayer includes much more than the five obligatory salahs. Understanding the different types — what is required, what the Prophet (peace be upon him) regularly practised, and what is purely voluntary — helps you build a complete and confident prayer life. This guide explains each category clearly.
Quick answer: Islamic prayers are grouped by their level of obligation: Fard (obligatory), Wajib (necessary, a term emphasised in the Hanafi school), Sunnah (regularly performed by the Prophet, peace be upon him), and Nafl (voluntary). The five daily fard prayers are Fajr, Dhuhr, Asr, Maghrib, and Isha. Witr is an emphasised night prayer, and there are several well-known voluntary prayers such as Tahajjud and Duha.
The five daily obligatory (fard) prayers
The five daily prayers are obligatory on every adult, sane Muslim. They are the foundation of Islamic worship. The Prophet (peace be upon him) said that the first deed a person will be held to account for on the Day of Judgment is the prayer (reported in Sunan at-Tirmidhi and Sunan an-Nasa’i).
| Prayer | Time | Fard rak’ahs |
|---|---|---|
| Fajr | Dawn, before sunrise | 2 |
| Dhuhr | After midday | 4 |
| Asr | Late afternoon | 4 |
| Maghrib | Just after sunset | 3 |
| Isha | Night | 4 |
On Fridays, the Dhuhr prayer is replaced for men by Jumu’ah (the Friday congregational prayer), which is two rak’ahs prayed after the sermon. If you are still learning the movements, our step-by-step guide to praying salah walks through each one, and remember that valid prayer begins with wudu.
The categories of prayer explained
Beyond the five daily prayers, scholars classify prayers by how strongly they are established. The exact terms and some rulings differ between the schools of Islamic law, but the general framework is widely shared.
Fard (obligatory)
Fard prayers are compulsory. Missing one without a valid reason is a serious matter. The five daily prayers and the Friday prayer fall into this category. Fard is further divided by scholars into fard al-ayn (obligatory on each individual, like the five daily prayers) and fard al-kifayah (a communal obligation, like the funeral prayer).
Wajib (necessary)
In the Hanafi school, wajib describes an act that is strongly required but one level below fard, such as the Witr and Eid prayers. The majority of other scholars do not use a separate “wajib” category in the same way and classify these as emphasised Sunnah. This is a point where schools differ, so follow the guidance of a qualified teacher in your tradition.
Sunnah (the Prophet’s regular practice)
Sunnah prayers are those the Prophet (peace be upon him) performed regularly outside the fard. They come in two levels:
- Sunnah mu’akkadah (emphasised) — prayers he rarely left, such as the rak’ahs offered before and after certain daily prayers.
- Sunnah ghayr mu’akkadah (non-emphasised) — prayers he offered sometimes but not always.
Praying the regular Sunnah prayers alongside the fard brings great reward and helps make up for any shortcomings in the obligatory prayers.
Nafl (voluntary)
Nafl prayers are entirely optional. They are a beautiful way to grow closer to Allah and earn extra reward at any permitted time. There is no sin in leaving them, and no limit to how many you may offer.
The Witr prayer
Witr is an emphasised prayer offered at night, after the Isha prayer, and is prayed with an odd number of rak’ahs. In the Hanafi school it is considered wajib, while many other scholars regard it as a strongly emphasised Sunnah. Because the ruling and the number of rak’ahs vary between schools, it is best to learn the details from a qualified teacher who follows your madhhab.
Common voluntary and occasional prayers
Alongside the daily rhythm, there are several well-known prayers worth knowing:
- Tahajjud — the late-night voluntary prayer, highly virtuous, offered after sleeping.
- Duha (Chasht) — a voluntary prayer in the forenoon, after sunrise has fully risen.
- Tahiyyat al-Masjid — two rak’ahs to “greet the mosque” on entering, before sitting.
- Salat al-Istikharah — a prayer seeking Allah’s guidance when making a decision.
- Taraweeh — the night prayer offered in congregation during Ramadan.
- Salat al-Eid — the congregational prayer on the two Eid festivals.
- Salat al-Janazah — the funeral prayer, a communal obligation (fard al-kifayah).
Why learning the types of prayer helps
Knowing which prayers are obligatory and which are voluntary helps you prioritise correctly: first protect the five daily fard prayers, then add the emphasised Sunnah, and then enrich your worship with nafl as you are able. It also removes confusion — you will understand why the number of rak’ahs changes from one prayer to another, and why some are prayed in congregation while others are private. A structured Islamic studies grounding makes all of this clear, and learning to recite well means your short surahs are ready for every prayer.
Frequently asked questions
How many obligatory prayers are there in Islam?
There are five obligatory (fard) daily prayers: Fajr, Dhuhr, Asr, Maghrib, and Isha. On Fridays, the Jumu’ah prayer replaces Dhuhr for men. The funeral prayer (Salat al-Janazah) is also obligatory, but as a communal duty rather than on every individual.
What is the difference between fard and sunnah prayers?
Fard prayers are compulsory, and missing them without a valid excuse is sinful. Sunnah prayers are those the Prophet (peace be upon him) regularly performed in addition to the fard; praying them brings great reward, but leaving them is not sinful in the way missing a fard prayer is.
Is Witr wajib or sunnah?
This differs between schools. In the Hanafi school Witr is considered wajib (necessary), while many other scholars classify it as a strongly emphasised Sunnah. Either way, it is an important night prayer that Muslims are encouraged not to leave.
What is a nafl prayer?
A nafl prayer is a completely voluntary prayer offered to earn extra reward and draw closer to Allah. There is no sin in not praying it, and you may offer nafl prayers at most times of the day except the few periods when prayer is discouraged.
How many rak’ahs are in each daily prayer?
The obligatory (fard) rak’ahs are: Fajr 2, Dhuhr 4, Asr 4, Maghrib 3, and Isha 4. Many Muslims also pray emphasised Sunnah rak’ahs before or after these; the exact numbers are well established but can vary slightly between schools.
What is the most important prayer?
All five daily prayers are obligatory and essential. Scholars note the special emphasis the Prophet (peace be upon him) placed on Fajr and Asr. The key principle is to guard all five consistently and on time.
Build a confident prayer life
Understanding the types of prayer turns worship from a list of movements into a clear, meaningful routine. Start by guarding the five daily fard prayers, add the emphasised Sunnah as you are ready, and enrich your days with voluntary prayers over time.
Want to learn the prayers and their recitations correctly, step by step? Book free trial classes with a certified Hidayah Path teacher, or explore our Islamic studies and Quran programmes for all ages.