Modesty is part of Iman (faith).

Sahih Muslim Book 1 Hadith 61

Sahih Muslim #36 a

The Book of Faith 1:61

Salim reported on the authority of his father that the Prophet (may peace and blessings be upon him) heard a man censuring his brother regarding modesty. Upon this the Prophet remarked:

Modesty is part of Iman (faith).

Chapter: Clarifying the number of branches of faith, the best and the least of them, the virtue of modesty (Al-Haya') and the fact that it is part of faith

Grade: Sahih