Abdullah bin Umar reported,

The Prophet ﷺ said, "Islam is built upon five: that Allah be worshipped and all besides Him be rejected, the establishment of prayer, the giving of zakat, the pilgrimage to the House, and fasting in Ramadan."

Muslim 112

Sahih

و حدثنا سهل بن عثمان العسكري حدثنا يحيى بن زكرياء حدثنا سعد بن طارق قال حدثني سعد بن عبيدة السلمي

عن ابن عمر

عن النبي ﷺ قال بني الإسلام على خمس على أن يعبد الله ويكفر بما دونه وإقام الصلاة وإيتاء الزكاة وحج البيت وصوم رمضان

مسلم 112صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Faith
Chapter
Explanation of the pillars of Islam and its great foundations
Numbering
Darussalam 112
Muslim 112