Abdullah bin Abbas reported,

The Prophet ﷺ said, "Whoever conceals the faults of his Muslim brother, Allah will conceal his faults on the Day of Resurrection. And whoever exposes the faults of his Muslim brother, Allah will expose his faults until He disgraces him with them in his own home."

Ibn Majah 2546

Daif

حدثنا يعقوب بن حميد بن كاسب حدثنا محمد بن عثمان الجمحي حدثنا الحكم بن أبان عن عكرمة

عن ابن عباس

عن النبي ﷺ قال من ستر عورة أخيه المسلم ستر الله عورته يوم القيامة ومن كشف عورة أخيه المسلم كشف الله عورته حتى يفضحه بها في بيته

ابن ماجه 2546ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Legal punishments
Chapter
Concealing the faults of the believer and averting legal punishments due to doubts
Numbering
Darussalam 2546
Ibn Majah 2546