Salah is the second pillar of Islam, and a prayer is only valid if certain conditions are met before it and certain acts are performed inside it. In the Hanafi school these are seven conditions and six obligatory acts. Miss one of them and the prayer has to be prayed again.
This page covers what makes a prayer valid and the different types of prayer. For why salah matters, see why salah is important in Islam. For the method itself, see how to pray salah step by step.
What Makes a Prayer Valid
Scholars divide the requirements of salah into two groups: the conditions you meet before the prayer begins, called shurut, and the obligatory acts inside the prayer, called fara’id or fard. Both must be present. A prayer missing any one of them is not valid and must be repeated.
The seven conditions before the prayer
- Ritual purity. Being in a state of wudu, or ghusl where it is required, from the start of the prayer to the end of it.
- Purity of body and clothing from impurity.
- Purity of the place where you pray.
- Covering the awrah. For men, navel to knees. For women, the whole body except the face and hands.
- The prayer time has entered. See the five daily prayers for the times.
- Facing the qiblah. See the direction of the qiblah.
- Intention in the heart for the specific prayer, or to join the imam. It does not have to be spoken. See making sincere intentions.
The six fard acts inside the prayer
- The opening takbir (takbir al-tahrimah), saying Allahu Akbar to begin.
- Standing (qiyam), for anyone able to stand.
- Recitation (qira’ah) of the Quran, even a single verse.
- Bowing (ruku).
- Prostrating (sujud).
- The final sitting, for as long as it takes to recite the tashahhud.
Darul Ifta Birmingham, answered by Maulana Tahsin Alam and checked by Mufti Mohammed Tosir Miah, citing Imam al-Marghinani’s al-Hidayah, al-Tashil al-Dharuri and Ma’arif al-Sunan. A second answer from the same body, by Ustadha Siddiqa al-Farsiyyah, citing al-Fatawa al-Hindiyyah, gives the same six acts. HANAFI SCHOOL
Why will you see 13 in one place and 14 in another?
Search for the fard of salah and you will find pages saying 13, pages saying 14, and pages listing 9 conditions and 14 pillars. They are not contradicting each other so much as counting differently, and nobody usually explains that.
- 13 is seven conditions plus six acts, which is what the Hanafi sources above give.
- 14 appears widely in South Asian teaching. The extra item comes from counting one of the requirements separately, and the lists are otherwise the same. I was not able to trace the count of 14 to a classical reference work, so this page does not present a 14-item list.
- 9 conditions, 14 pillars and 8 obligations is how the material is commonly set out in Hanbali and contemporary Salafi presentations. That list counts things the Hanafi school classes as wajib, such as the tasbeeh of ruku and sujud, among the pillars, and it adds conditions such as being Muslim and of sound mind, which the Hanafi list treats as assumed.
So the number depends on the school and on how the author groups the items. Follow the list used by the school you follow, and do not treat a different number as a mistake. DIFFERS BY SCHOOL
The wajib acts, and what happens if you miss one?
Below the fard acts sit the wajibat, the necessary acts. The Hanafi school distinguishes these from the fard, and the difference matters in practice.
| Type of Missing | Fard | Wajib |
|---|---|---|
| If missed deliberately | The prayer is invalid. | The prayer is sinful but valid. |
| If missed by mistake | The prayer is invalid and must be repeated. | Corrected by Sajda Sahw, the prostration of forgetfulness |
The Hanafi wajibat include reciting Surah al-Fatihah, adding three verses after it in the first two rak’ahs of a fard prayer, pausing in each position, the first sitting, reciting the tashahhud in both sittings, ending with the salam, the qunut in witr, and reciting aloud or quietly in the prayers where each applies.
The other three schools organise these requirements differently and do not all use the fard and wajib distinction in the same way. DIFFERS BY SCHOOL
Salah as the Second Pillar
The Prophet (SAW) named salah the second among the five things Islam is built on, after the testimony of faith.
Ibn Umar (RA) reported that the Prophet (SAW) said Islam is built on five: the testimony that there is no god but Allah and that Muhammad is His Messenger, establishing the prayer, paying zakat, Hajj, and fasting Ramadan.
Sahih al-Bukhari 8, Book 2, hadith 1. SAHIH
The first pillar is tawhid, and the third is zakat. All five are set out in our guide to the five pillars of Islam.
Salah is the only pillar a Muslim performs five times every day, which is why the conditions above matter so much in ordinary life rather than only in theory.
What the Quran Says About those Who Guard their Prayers
قَدْ أَفْلَحَ ٱلْمُؤْمِنُونَ ٱلَّذِينَ هُمْ فِى صَلَاتِهِمْ خَٰشِعُونَ
“Successful indeed are the believers, those who are humble in their prayers.”
Surah al-Mu’minun 23:1-2. Read verses 1 to 5
The passage continues by describing those same believers as turning away from idle talk, giving zakat, and guarding their chastity. Prayer is listed first, and the quality named is khushu, which is attentiveness rather than simply performing the movements. There is more on that in our guide to attaining perfection in salah.
Types of Salah
Prayers are grouped by how binding they are. The categories below are the Hanafi ones. HANAFI SCHOOL
Fard, the obligatory prayers
The five daily prayers, the Friday prayer for those it applies to, and the funeral prayer, which is fard kifayah, an obligation on the community rather than on every individual. Deliberately missing a fard prayer is a major sin.
Wajib, the necessary prayers
The witr prayer after Isha, and the Eid prayers. The Hanafi school places these just below fard. The other three schools class them as confirmed sunnah rather than wajib. DIFFERS BY SCHOOL
Sunnah prayers
The prayers the Prophet (SAW) kept to alongside the obligatory ones. They divide in two:
- Sunnah mu’akkadah, the emphasised ones, such as the two rak’ahs before Fajr and the sunnah prayers around Dhuhr. He kept these regularly.
- Sunnah ghayr mu’akkadah, the non-emphasised ones, which he prayed at times and left at times.
Nafl, the voluntary prayers
Prayers a person offers beyond all of the above, such as tahajjud, qiyam al-layl and salatul tasbeeh. Our guide to nawafil prayers covers these in full.
A note on wording. These are sunnah prayers, from the Sunnah of the Prophet (SAW). They are not “Sunni prayers”. Sunni describes a Muslim, and sunnah describes a practice. The two words are often mixed up and they mean different things.
The Five Daily Prayers
Fajr before sunrise, Dhuhr after midday, Asr in the late afternoon, Maghrib just after sunset, and Isha at night. Each has its own number of rak’ahs and its own window, and the schools differ on when Asr begins.
Times shift through the year and differ by location, so use a local timetable rather than fixed clock times. The five daily prayers page has the details. DIFFERS BY SCHOOL
Questions About the Conditions and Pillars of Salah
What are the conditions and pillars of salah?
The conditions (shurut) are met before the prayer: ritual purity, purity of body and clothing, purity of the place, covering the awrah, the time having entered, facing the qiblah, and intention. The pillars or fard acts are performed inside it: the opening takbir, standing, recitation, bowing, prostrating, and the final sitting. In the Hanafi school that is seven conditions and six acts.
How many fard are there in salah?
The Hanafi sources cited on this page give thirteen: seven conditions plus six acts. You will often see fourteen, and you will see Hanbali and contemporary Salafi presentations listing nine conditions, fourteen pillars and eight obligations. The lists cover much the same ground and differ in how the items are grouped and which school is being followed.
What is the difference between fard and wajib in salah?
If you miss the fard, then act makes the prayer invalid and it must be prayed again. Missing a wajib act by mistake does not invalidate the prayer, and it is corrected with Sajda Sahw. Missing one deliberately is sinful but the prayer still counts. This distinction is a feature of the Hanafi school.
Is salah the second pillar of Islam?
Yes. In the hadith of Ibn Umar (RA) the Prophet (SAW) listed it second, after the testimony of faith and before zakat, Hajj and fasting Ramadan (Sahih al-Bukhari 8).
Does a prayer count if I forgot the intention?
Intention is one of the conditions, so a prayer offered with no intention at all is not valid. It is formed in the heart and does not need to be said aloud, and simply going to pray a particular prayer at its time normally carries it. For a real case, ask a qualified scholar rather than deciding from an article.
What is qasr, and when is a prayer shortened?
Qasr is the shortening of the four-rakah obligatory prayers, Dhuhr, Asr and Isha, to two rakah while travelling. Fajr and Maghrib are not shortened. The schools set the qualifying distance differently and they also differ on how long a traveller keeps the concession after arriving, so check the position of the school you follow rather than a general figure.
Can two prayers be combined?
The schools differ, and this is one of the places where a general answer is misleading. The Maliki, Shafi’i and Hanbali schools permit combining Dhuhr with Asr and Maghrib with Isha for a traveller, and some of them for illness or heavy rain. The Hanafi school does not permit combining outside Arafah and Muzdalifah during Hajj, and treats what looks like combining as praying each prayer at the near end and the far end of its own time. Follow your own school here.
What happens to a prayer I missed?
A missed obligatory prayer is not written off when its time passes. It is made up as qada once remembered. See making up missed prayers.
Do women pray during menstruation?
No. Salah is not required during menstruation or postnatal bleeding, and the prayers missed in that period are not made up afterwards. This differs from fasting, where the missed days are made up later.







