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 1)
USC-MSA web (Vol. 1, Book 2, Hadith 8)