The Prophet ﷺ said, "Faith has seventy-odd branches, and modesty is a branch of faith."
أخبرنا محمد بن عبد الله بن المبارك قال حدثنا أبو عامر قال حدثنا سليمان وهو ابن بلال عن عبد الله بن دينار عن أبي صالح
عن النبي ﷺ قال الإيمان بضع وسبعون شعبة والحياء شعبة من الإيمان
Reported by Bukhari, in the chapter on faith, section on the matters of faith, etc., hadith no. 9, and Muslim, in the chapter on faith, section on explaining the number of the branches of faith, the best and least of them, etc., hadith no. 35, from the hadith of Abu Amir Aqadi, through the same chain.