All forty hadith

The 40 Hadith of Imam an-Nawawi · Hadith 3

Islam is built on five

The foundations of the deen

عَنْ أَبِي عَبْدِ الرَّحْمَنِ عَبْدِ اللَّهِ بْنِ عُمَرَ بْنِ الْخَطَّابِ رَضِيَ اللَّهُ عَنْهُمَا قَالَ: سَمِعْت رَسُولَ اللَّهِ صلى الله عليه و سلم يَقُولُ: " بُنِيَ الْإِسْلَامُ عَلَى خَمْسٍ: شَهَادَةِ أَنْ لَا إلَهَ إلَّا اللَّهُ وَأَنَّ مُحَمَّدًا رَسُولُ اللَّهِ، وَإِقَامِ الصَّلَاةِ، وَإِيتَاءِ الزَّكَاةِ، وَحَجِّ الْبَيْتِ، وَصَوْمِ رَمَضَانَ"

I heard the Messenger of Allah (ﷺ) say, "Islam has been built on five [pillars]: testifying that there is no deity worthy of worship except Allah and that Muhammad is the Messenger of Allah, establishing the salah (prayer), paying the zakat (obligatory charity), making the hajj (pilgrimage) to the House, and fasting in Ramadhan."

On the authority of Abdullah, the son of Umar ibn al-Khattab (ra), who said:

When you want to know what a thing truly is, you look at what holds it up. The Prophet ﷺ did not describe Islam here by its feelings or its history. He described it by its structure: five pillars, and a building raised upon them.

It is a gentle image. A pillar is not the whole house, but without it the roof comes down. So these five are not all of the religion, but they are what the rest of your faith leans on, the load-bearing walls of a life turned toward Allah.

Where this hadith comes from

It is narrated by 'Abdullah ibn 'Umar (ra), the son of the second caliph, and recorded by both al-Bukhari (8) and Muslim (16). Being agreed upon by the two most rigorous collectors places it at the highest level of authenticity (sahih), and the early scholars treated it as a cornerstone, a one-line map of what the religion is built upon.

Imam an-Nawawi set it third in his forty precisely because of that role. After the hadith of intention and the hadith of Jibril, it names the load-bearing acts of the deen, so the believer knows not only why to act and what to believe, but what the structure of a Muslim life actually rests on.

The key words

What it means, line by line

Islam has been built on five: the verb is passive and the builder is Allah, so the shape of the religion is given, not invented. The testimony comes first because it is the foundation every other act stands on; without it, the rest has nothing beneath it to hold it up.

Then four acts rise on that foundation: establishing the prayer, giving the zakah, the pilgrimage to the House, and fasting Ramadan. Between the tongue, the body, the wealth, and the journey, they reach every part of a life. The Qur'an names this same path the religion of Ibrahim and calls its people by a name Allah Himself chose:

A house, not a heap

Notice that the Prophet ﷺ said built, not gathered. Islam is not a heap of good deeds piled up at random. It has an architecture. The testimony of faith is the foundation the rest rests on; the prayer, the zakah, the fast, and the pilgrimage rise from it like pillars holding a single roof.

This is why a Muslim's life has a shape you can recognise anywhere on earth: the same five anchors, in the rich and the poor, the new and the old. You are not improvising your way to Allah. You have been given a structure, and your task is simply to keep raising it.

Each pillar carries something

The testimony plants your whole life in one truth: there is no god but Allah, and Muhammad is His Messenger. The prayer keeps that truth living in your day, five times over. The zakah pulls it down into your wealth so that even your money worships. The fast trains the body to obey the heart. And the pilgrimage gathers the scattered ummah into one white circle around one House.

Worship the body and the soul, the private and the public, the daily and the once-in-a-lifetime. Between them they touch every part of you. Nothing is left outside.

You were named for this

And this shape is not new. It is the way of Ibrahim, the path of submission that Allah Himself gave its name:

Carry this with you

If your faith ever feels like a scattered to-do list, come back to the blueprint.

  • Islam has a structure.

    Five pillars, not a random pile of deeds. Your life with Allah has a shape you can build to.

  • The testimony is the foundation.

    Everything else rests on 'there is no god but Allah.' Keep the foundation sound.

  • The pillars touch all of you.

    Tongue, body, wealth, time, and the whole ummah. No part of a life is left outside worship.

  • Keep raising the building.

    You are not improvising. Strengthen one pillar at a time, and the roof stays up.

A du'a to carry

رَبَّنَا تَقَبَّلْ مِنَّآ ۖ إِنَّكَ أَنتَ ٱلسَّمِيعُ ٱلْعَلِيمُ

Rabbana taqabbal minna, innaka Anta as-Sami'u-l-'Alim

Our Lord, accept [this] from us. Indeed, You are the Hearing, the Knowing. (Al-Baqarah 2:127, the du'a of Ibrahim as he raised the foundations of the House)

A du'a as you build

You did not have to design a way to reach Allah. He gave you the plan: five pillars, a whole life held up by them, the same path walked by Ibrahim and by every prophet after him.

So the question is never what shape your faith should take. It is only whether, today, you will keep raising the walls you have been given, one prayer, one act of giving, one fast at a time.

O Allah, You who named us Muslims and gave our faith its shape, let us build upon these five and never let the foundation crack. Accept from us, for You are the Hearing, the Knowing. Ameen.

The hadith is from sunnah.com: 'Islam has been built on five,' narrated by Ibn 'Umar (ra), al-Bukhari 8 and Muslim 16, graded sahih (agreed upon). Qur'an citation (22:78) is in Uthmani script verified via quran.ai (ar-uthmani-minimal) with the Saheeh International translation; the verse is quoted in part. Per the pillar's editorial policy this stays with the meaning and shape of the pillars and does not enter the fiqh of how each is performed. FOR SCHOLAR REVIEW before publication.

Questions

What are the five pillars of Islam in this hadith?
The testimony that there is no god but Allah and that Muhammad is the Messenger of Allah, establishing the prayer, giving the zakah, the pilgrimage (Hajj) to the House, and fasting Ramadan. The hadith of Ibn 'Umar (ra) lists these as the five things Islam is built upon.
Does 'built on five' mean the rest of Islam doesn't matter?
No. A pillar holds up a building, but the building has much more than its pillars. The five are the load-bearing supports the rest of the religion rests on, not the whole of it. Honesty, kindness, and good character all still matter; they are part of the structure these pillars carry.
Why is the testimony of faith counted as a pillar?
Because it is the foundation the others stand on. Prayer, charity, fasting, and pilgrimage all gain their meaning from being done for the One you testified to. Without the testimony, the acts have no foundation beneath them.
What should I do if I am weak in one of the pillars?
Keep the others standing while you strengthen the weak one, gently and steadily. A building does not need to be perfect to stand; it needs its pillars kept up. Lean on the strong ones and rebuild the weak one without despairing.

What stayed with you?

A private note, kept only on this device. Find it again on your journey page.

One hadith a day, in your calendar.

Subscribe, free