Abu Huraira reported God’s messenger as saying, “Faith has over seventy branches, the most excellent of which is the declaration that there is no god but God, and the humblest of which is the removal of what is injurious from the road. And modesty is a branch of faith.”
Narrated Ibn ‘Umar reported God's messenger as saying, “Islam is based on five things:
the testimony that there is no god but God and that Muhammad is His servant and messenger, the observance of the prayer, the payment of zakat, the Pilgrimage, and the fast during Ramadan.”
Narrated ‘Abdallah b. ‘Amr reported God's messenger as saying, “The Muslim is he from whose tongue and hand the Muslims are safe, and the Emigrant is he who abandons what God has prohibited.”
This is Bukhari’s wording.
Muslim has:
A man asked the Prophet, “Which of the Muslims is best?” He replied, “He from whose tongue and hand the Muslims are safe.”.
Narrated Abu Huraira transmitted it with a difference containing the following:
When you see the barefooted, the naked, the deaf, the dumb as kings of the earth, as -well as five things which no one but God knows. Then he recited, ‘‘God has knowledge of the Hour, and He sends down the rain…”