The reciter: Muhammad ibn 'Abd Allah ibn Numayr al-Humaydani narrated to us, and Abu Khalid, meaning Sulayman ibn Hayyan al-Ahmar, narrated to us, from Abu Malik al-Ash'ari, from Sa'd ibn 'Ubaydah, from Ibn 'Umar, from the Prophet (peace and blessings be upon him), who said:
The superstructure of) al-Islam is raised on five (pillars), i. e. the oneness of Allah, the establishment of prayer, payment of Zakat, the, fast of Ramadan, Pilgrimage (to Mecca). A person said (to 'Abdullah b. Umar the narrator): Which of the two precedes the other-Pilgrimage or the fasts of Rarnadan? Upon this he (the narrator) replied: No (it is not the Pilgrimage first) but the fasts of Ramadan precede the Pilgrimage.
بني الإسلام على خمسةٍ ، على أن يوحّد الله ، وإقام الصّلاة ، وإيتاء الزّكاة ، وصيام رمضان ، والحجّ ، فقال رجلٌ : الحجّ ، وصيام رمضان ، قال : لا ، صيام رمضان والحجّ Sahih Muslim 16a This is how I heard it from the Messenger of Allah (peace and blessings be upon him).