No, the five pillars are the foundation of practice, but Islam also includes the six articles of belief, ethical conduct, family and social duties, and the many branches of faith described in the hadith.
- The Prophet (saw) said that Islam is built on five: the testimony of faith, the prayer, zakat, fasting in Ramadan and Hajj (Sahih al-Bukhari and Sahih Muslim, from Ibn 'Umar (ra)).
- The metaphor is of a building, where the pillars support a structure and do not replace the walls, so scholars do not say that nothing else matters.
- Another hadith says that faith has more than seventy branches, from declaring that there is no god but Allah to removing harm from the road (Sahih al-Bukhari and Sahih Muslim).
- Some Muslim groups present lists of duties that differ from the five, but Sunni scholars hold the five as the pillars of Islam and treat other duties as obligations of the religion in other categories.
Introduction
The question is a fair one, because many people hear that Islam has five pillars and conclude that this is the whole of the religion. The scholars themselves insist that it is not. The five pillars are the acts of worship that define a Muslim's basic practice, and the religion also covers belief, character, law and the rights of others. This answer sets out the evidence for the five, explains why other duties are not counted among them and notes the lists used by other groups.
The hadith is well known: 'Islam is built upon five: testifying that there is no god but Allah and that Muhammad is the Messenger of Allah, establishing the prayer, giving the zakat, Hajj to the House and fasting Ramadan' (Sahih al-Bukhari and Sahih Muslim, narrated by Ibn 'Umar (ra)).
What the hadith says and means
In the narration of Muslim, a man asked Ibn 'Umar (ra) why he did not go on military expeditions, and he answered with this hadith. Some narrations of Muslim place fasting before Hajj, and Ibn 'Umar (ra) corrected a man who did so, saying that the Prophet (saw) had said Hajj first and then fasting, as he heard it. Al-Nawawi, in his commentary, notes that this reflects the order the narrator heard and that all the narrations list the same five. The hadith also appears as the third of al-Nawawi's Forty Hadith.
The word 'built' (bunia) is a metaphor. Ibn Rajab al-Hanbali, in Jami' al-'Ulum wa al-Hikam, explains that the pillars are the main supports of the building of Islam, and that a building also has other parts. A house cannot stand without pillars, but the pillars are not the whole of the house. Ibn Hajar, in Fath al-Bari, states that this hadith summarises the main acts of Islam and that it does not exclude other duties.
The hadith of Jibril in Sahih Muslim, in which the angel asks about Islam, faith and excellence (ihsan), also lists the five as Islam. The same hadith lists the six articles of faith as a separate category, namely belief in Allah, His angels, His books, His messengers, the Last Day and the decree. The Qur'an combines the two: 'Righteousness is not that you turn your faces to the east and the west, but righteousness is whoever believes in Allah and the Last Day, the angels, the Book and the prophets, and gives wealth out of love of Him to relatives, orphans, the poor, the traveller and those who ask, and to free slaves, and establishes the prayer and gives zakat' (2:177).
Why only five are called pillars
Scholars give reasons for the selection. The five are the acts that every responsible Muslim is individually required to perform, and each is a distinct form of worship: a declaration of belief, worship of the body, worship through wealth, worship through abstention, and a combined pilgrimage of body and wealth. They also appear together in the hadith as the minimum that distinguishes a Muslim in outward terms. The Prophet (saw) said that the covenant between us and them is the prayer, and whoever abandons it has disbelieved, a hadith in Jami' al-Tirmidhi and Sunan al-Nasa'i which al-Albani graded sahih. Scholars differ on the meaning of this hadith. Ahmad ibn Hanbal in one report held that deliberate abandonment of the prayer is disbelief, while the majority, including Malik and al-Shafi'i, held that it is a grave sin that deserves punishment but does not remove a person from Islam unless he denies the obligation.
Other duties have their own categories. The Prophet (saw) said that the head of the matter is Islam, its pillar is the prayer and its summit is jihad, a hadith in Jami' al-Tirmidhi, which he graded hasan sahih. Here jihad is described as a peak and not a pillar, and it is, in its armed form, a communal duty that depends on conditions, not an individual duty on every Muslim. Likewise honouring one's parents is described as among the greatest deeds (Sahih al-Bukhari and Sahih Muslim), but it is not a pillar of Islam. In the narration of the delegation of 'Abd al-Qays in Sahih al-Bukhari and Sahih Muslim, the Prophet (saw) added to the testimony, prayer, zakat and fasting the giving of one fifth of the spoils of war, showing that other duties may be mentioned in particular contexts.
Other lists and other duties
Some Muslim groups present different lists. Twelver Shia scholars speak of the 'branches of religion' (furu' al-din), a list of ten practices that include prayer, fasting, zakat, khums, Hajj, jihad, enjoining good, forbidding evil and loyalty to the family of the Prophet (saw), and they count the principles of religion, such as divine justice and the imamate, separately. The Ismaili tradition, in the work of al-Qadi al-Nu'man, Da'a'im al-Islam, lists seven pillars beginning with walaya. The Ibadi school accepts the five but is distinguished by its emphasis on certain other duties. These are different frameworks, and Sunni scholars take the five as the summary given by the hadith.
In Sunni law the duties of Islam are divided into acts of worship ('ibadat) and dealings (mu'amalat), and the second category covers honesty in trade, justice, kindness to parents and neighbours, the maintenance of the family, the prohibition of usury and many rights of others. The Prophet (saw) said: 'The believers most complete in faith are those with the best character' (Sunan Abi Dawud and Jami' al-Tirmidhi, graded hasan sahih). He also said that he was sent to perfect noble character, a hadith recorded in Musnad Ahmad and graded sahih by al-Albani. It would be a mistake to treat the pillars as the whole of the religion while ignoring these.
The five pillars are also not an exam checklist. The Qur'an warns against those who pray but are heedless of their prayer and who refuse small kindnesses (107:4 to 7). The scholars teach that the pillars train the heart and discipline the self so that the person becomes just, patient and generous. Al-Ghazali's Ihya' 'Ulum al-Din is arranged on this basis, with a quarter on acts of worship, a quarter on customs and dealings, and two quarters on the destructive and saving qualities of the heart.
Conclusion
There are five pillars, and they are the base of Islam, but they are not the whole of it. The religion also teaches belief, ethics, family life, justice and service, and the scholars from al-Nawawi to Ibn Rajab stress that the pillars support a building. A believer who prays and fasts while mistreating others has misunderstood what the pillars are for.
References
Qur'an: 2:177, 107:4 to 7
Sahih al-Bukhari and Sahih Muslim: the hadith of Ibn 'Umar on the five pillars; the seventy branches of faith; the delegation of 'Abd al-Qays
Sahih Muslim: the hadith of Jibril
Jami' al-Tirmidhi: the covenant of prayer (sahih per al-Albani); the head of the matter is Islam (hasan sahih)
Sunan Abi Dawud and Jami' al-Tirmidhi: the best in character (hasan sahih)
Musnad Ahmad: the perfecting of noble character (sahih per al-Albani)
Al-Nawawi, Sharh Sahih Muslim and al-Arba'un; Ibn Rajab, Jami' al-'Ulum wa al-Hikam; Ibn Hajar, Fath al-Bari
Al-Ghazali, Ihya' 'Ulum al-Din