Sahih Muslim #7476 · The Book of Zuhd and Softening of Hearts

Sahih MuslimIbn Abbas reported Allah's Messenger
Sahih Muslim · Book 55 · The Book of Zuhd and Softening of Hearts
Sahih Muslim · كتاب 55 · كتاب الزهد
If anyone wants to have his deeds widely publicised, Allah will publicise (his humiliation). And if anyone makes a hypocritical display (of his deeds) Allah will make a display of him.
حَدَّثَنَا عُمَرُ بْنُ حَفْصِ بْنِ غِيَاثٍ، حَدَّثَنِي أَبِي، عَنْ إِسْمَاعِيلَ بْنِ سُمَيْعٍ، عَنْ مُسْلِمٍ، الْبَطِينِ عَنْ سَعِيدِ بْنِ جُبَيْرٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏
"‏ مَنْ سَمَّعَ سَمَّعَ اللَّهُ بِهِ وَمَنْ رَاءَى رَاءَى اللَّهُ بِهِ ‏"‏ ‏.‏
Reference : Sahih Muslim 7476In-book reference : Book 55, Hadith 59