The Five Pillars of Islam

أَرْكَانُ الْإِسْلَامِ

Five acts named in a single hadith as the frame on which Islam (الإسلام) is built: the testimony, the prayer, the purifying due, the fast, and the pilgrimage. What each one is, what obliges it, and why the word chosen was "pillars" rather than "the building".

Abu Ibrahim · Last updated: 2026-08-09

Fast facts

Source
The hadith of Ibn ʿUmar (ابن عمر) (رضي الله عنه), "Islam is built upon five"
The five
Shahadah, salah, zakat, sawm, hajj
Obligatory on
Every adult Muslim of sound mind, with exemptions noted per pillar
Common error
Treating the five as the whole of Islam rather than what carries it
On this page

Where the five come from

The grouping is not a later scholarly convenience. It comes from a hadith narrated by Ibn ʿUmar (ابن عمر) (رضي الله عنه), in which the Prophet Muhammad ﷺ (محمد) names five things and calls them the structure on which Islam (الإسلام) stands.

بُنِيَ الْإِسْلَامُ عَلَى خَمْسٍ: شَهَادَةِ أَنْ لَا إِلَهَ إِلَّا اللَّهُ وَأَنَّ مُحَمَّدًا رَسُولُ اللَّهِ، وَإِقَامِ الصَّلَاةِ، وَإِيتَاءِ الزَّكَاةِ، وَالْحَجِّ، وَصَوْمِ رَمَضَانَ"Islam is built upon five: the testimony that there is no god but Allah and that Muhammad is the Messenger of Allah, establishing the prayer, giving the zakat, the pilgrimage, and fasting Ramadan." (Sahih al-Bukhari 8; also Sahih Muslim 16)

The image is architectural, and it is worth taking literally. A pillar is not the building. It is what holds the building up, which means two things at once: remove one and the structure is in danger, but point at the pillars alone and you have not described the house. Both halves of that matter, and the second half is the one most often dropped.

One: the testimony (الشهادة)

The shahadah (الشهادة) is the statement that there is no god but Allah and that Muhammad ﷺ is His Messenger. It is what makes a person Muslim, and it is the only pillar that is not an action repeated on a schedule: it is a position held, which the other four then express.

It has two clauses because it settles two questions. The first is who is worshipped. The second is how that worship is known, since a claim about God with no messenger attached leaves every person to invent the rest. The Qur’an puts the first clause as a command to know rather than merely to feel: Sūrah Muhammad 47:19.

Two: the prayer (الصلاة)

Salah (الصلاة) is the five daily prayers: Fajr (الفجر), Zuhr (الظهر), Asr (العصر), Maghrib (المغرب) and Isha (العشاء). It is the pillar with the shortest interval, which is the point of it: the day is cut into five places where everything else stops.

The fixed timing is not custom but instruction. The Qur’an describes the prayer as a written obligation tied to stated times: Sūrah al-Nisāʾ 4:103. Elsewhere it is paired with zakat so consistently that the two read as one instruction with an inward and an outward face, as in Sūrah al-Baqarah 2:110.

Prayer requires purity of body, clothing and place, which is why the books of fiqh (فقه) treat taharah (طهارة) before they treat salah. It does not lapse in illness, travel or fear: it is shortened, combined, performed sitting, or performed with gestures, but it is not set down. That inflexibility about the act, paired with wide flexibility about the form, is the pattern.

Three: the purifying due (الزكاة)

Zakat (الزكاة) is a fixed annual transfer from those who hold wealth above a threshold to categories of people the Qur’an names. The root ز ك و carries both growth and purification, and the classical usage keeps both: the payment purifies the remainder and is expected to grow it.

It is not charity. Charity is voluntary, variable, and directed by the giver; zakat is owed, calculated, and directed by revelation. The command in Sūrah al-Tawbah 9:103 is to take it, and the eight categories of recipient are set out in Sūrah al-Tawbah 9:60, which leaves the payer far less discretion than the word "giving" suggests.

TermMeaning
Nisab (نصاب)The threshold below which no zakat is due
Hawl (حول)The lunar year the wealth must be held before it falls due
RateTwo and a half per cent on monetary wealth; other rates apply to crops, livestock and minerals

The threshold matters as much as the rate. A person below nisab (نصاب) owes nothing and may themselves be a recipient, so the pillar is structured to move wealth in one direction without ever asking it of those who cannot bear it.

Four: the fast (الصوم)

Sawm (الصوم) in Ramadan (رمضان) is abstention from food, drink and marital relations from the true dawn until sunset, for the lunar month. The obligation is stated in Sūrah al-Baqarah 2:183, which also gives the reason: that you may attain taqwa (تقوى), the watchfulness that comes from doing something difficult for no audience but Allah.

The same passage builds in its own exemptions. The ill and the traveller make up the days later, and those who genuinely cannot fast feed a poor person instead: Sūrah al-Baqarah 2:184-185. The exemptions are part of the legislation rather than concessions wrung out of it, which is the same pattern the prayer shows.

What the fast trains is the gap between capacity and appetite. Food is available, permitted at every other time of year, and refused anyway. A person who can hold that line for a month has evidence about themselves that no amount of intention alone provides.

Five: the pilgrimage (الحج)

Hajj (الحج) is the pilgrimage to the Kaʿbah (الكعبة) at Makkah (مكة) in the month of Dhul Hijjah (ذو الحجة), obligatory once in a lifetime on whoever is able to make it. The qualification is in the verse itself: Sūrah Āl ʿImrān 3:97 makes it a duty upon those who can find a way to it.

Ability is read to cover physical capacity, the means to travel, and the security of the route, and it is assessed honestly rather than aspirationally. A person without those is not in default; the obligation has not attached to them.

Hajj is the only pillar that requires everyone to arrive at the same place, in the same two unsewn garments, performing the same rites in the same order. Rank is removed by design, which is why the accounts of it so often turn on what the crowd looked like rather than what the pilgrim felt.

Pillars, not the building

The commonest misuse of this hadith is to treat the five as an exhaustive list of what Islam asks. The wording does not allow it. A structure built upon five supports contains a great deal that is not a support: honesty in trade, the treatment of parents and neighbours, the prohibition of interest, the duty to seek knowledge, the government of one’s tongue. None of these is a pillar, and none is optional.

The hadith of Jibril (جبريل) (عليه السلام) makes the same point from the other side by placing this list at one level of three. Asked what Islam is, the Prophet ﷺ gives the five. Asked what iman (إيمان) is, he gives the articles of belief. Asked what ihsan (إحسان) is, he gives worshipping Allah as though you see Him. The five answer the first question only (Sahih Muslim 8).

Frequently asked questions

Are the five pillars in a fixed order of importance?

The shahadah (الشهادة) comes first in every version, because the other four are only meaningful once it is held. After that the order varies between narrations of the same hadith, which is itself an indication that the sequence is not a ranking. What is fixed is that all five are obligations, not a menu.

What happens if someone cannot perform one of them?

It depends on whether the inability is permanent or temporary, and each pillar handles it explicitly. Missed fasts are made up or replaced by feeding the poor; prayer is shortened, combined or performed sitting but never dropped; zakat is not owed below the threshold; hajj does not attach to a person who lacks the means or safe passage. Genuine incapacity is written into the law rather than being an exception to it.

Why is the declaration of faith counted as a pillar when it is not an action?

Because it is the commitment the other four express. Prayer, zakat, fasting and pilgrimage performed without it are actions without a referent. Counting it as the first pillar keeps the other four from being read as a set of practices detachable from what they are for.

Sources & further reading

  1. Sahih al-Bukhari 8, the hadith of Ibn ʿUmar
  2. Sahih Muslim 16, the same hadith
  3. Sahih Muslim 8, the hadith of Jibril on islam, iman and ihsan