
Narrated Ibn ‘Umar: Allah’s Messenger (ﷺ) said: Islam is based on (the following) five (principles):
- To testify that none has the right to be worshipped but Allah and Muhammad is Allah’s Messenger (ﷺ).
- To offer the (compulsory congregational) prayers dutifully and perfectly.
- To pay Zakat (i.e. obligatory charity).
- To perform Hajj. (i.e. Pilgrimage to Mecca)
- To observe fast during the month of Ramadan.
— Sahih al-Bukhari 8 (Book 2, Hadith 7 in the USC-MSA numbering), translated by Muhammad Muhsin Khan.
The Five Pillars of Islam are the five basic acts every Muslim is obliged to perform: the declaration of faith (shahada), prayer (salat), almsgiving (zakat), fasting in Ramadan (sawm) and the pilgrimage to Mecca (hajj). They are most often cited from a hadith narrated by Abdullah ibn Umar, “Islam is built upon five”, recorded in Sahih al-Bukhari (no. 8) and Sahih Muslim (no. 16); the same five acts appear in the Hadith of Gabriel.
The text above is the hadith in Muhammad Muhsin Khan’s English translation of Sahih al-Bukhari (Book of Belief). Other translations word it differently, for example “Islam is built upon five: bearing witness that there is no deity except Allah…”.