The Prophet ﷺ passed by a man of the Ansar when he was giving his brother a warning against modesty. The Apostle of Allah ﷺ said : Leave him alone, for modesty is a part of faith. (Using translation from Abū Dāʾūd 4795)
أَنَّ رَسُولَ اللهِ ﷺ مَرَّ بِرَجُلٍ مِنَ الْأَنْصَارِ وَهُوَ يَعِظُ أَخَاهُ مِنَ الْحَيَاءِ فَقَالَ لَهُ رَسُولُ اللهِ ﷺ دَعْهُ فَإِنَّ الْحَيَاءَ مِنَ الْإِيمَانِ