The Messenger of Allah ﷺ said, "Faith has sixty-odd, or seventy, branches. The lowest of them is removing harm from the road, and the highest is the declaration that there is no god but Allah. And modesty is a branch of faith."Abu Bakr bin Abu Shayba narrated to us, saying Abu Khalid al-Ahmar narrated to us from Ibn Ajlan. And Amr bin Rafi narrated to us, saying Jareer narrated to us from Suhayl, both of them from Abdullah bin Dinar, from Abu Salih, from Abu Hurairah, from the Prophet ﷺ, a similar report.
حدثنا علي بن محمد الطنافسي حدثنا وكيع حدثنا سفيان عن سهيل بن أبي صالح عن عبد الله بن دينار عن أبي صالح
قال رسول الله ﷺ الإيمان بضع وستون أو سبعون بابا أدناها إماطة الأذى عن الطريق وأرفعها قول لا إله إلا الله والحياء شعبة من الإيمان حدثنا أبو بكر بن أبي شيبة قال حدثنا أبو خالد الأحمر عن ابن عجلان ح و حدثنا عمرو بن رافع حدثنا جرير عن سهيل جميعا عن عبد الله بن دينار عن أبي صالح عن أبي هريرة عن النبي ﷺ نحوه
Bukhari related it in the Book of Faith, Chapter on the Matters of Faith, no. 9, and Muslim in the Book of Faith, Chapter on the Explanation of the Number of the Branches of Faith... etc., no. 35, from the hadith of Ibn Dinar through this route, and Muslim also related it from the hadith of Suhayl through this route.