(8) باب النَّهْىِ عَنْ هَتْكِ الإِنْسَانِ، سِتْرَ نَفْسِهِ
Abu Huraira reported Allah's Messenger (ﷺ) as saying:
All the people of my Ummah would get pardon for their sins except those who publicise them. And (it means) that a servant should do a deed during the night and tell the people in the morning that he has done so and so, whereas Allah has concealed it. And he does a deed during the day and when it is night he tells the people, whereas Allah has concealed it. Zuhair has used the word hijar for publicising.
Reference: Sahih Muslim 2990
In-book reference: Book 55, Hadith 68
USC-MSA web (English) reference(deprecated numbering scheme): Book 42, Hadith 7124
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.