Riyad as-Salihin #1621 · The Book of the Prohibited actions

Riyad as-SalihinAbu Dharr al-Ghifari
Riyad as-Salihin · Book 18 · The Book of the Prohibited actions
Riyad as-Salihin · كتاب 18 · كتاب الأمور المنهي عنها
The Messenger of Allah (صلى الله عليه وسلم) was asked: "Tell us about a person who does some good deed and people praise him, will this be considered as showing off?" He replied, "This is the glad tidings which a believer receives (in this life)." [Muslim] .
وعن أبي ذر رضي الله عنه قال: قيل لرسول الله صلى الله عليه وسلم : أرأيت الرجل يعمل العمل من الخير، ويحمده الناس عليه؟ قال:
" تلك عاجل بشرى المؤمن" ((رواه مسلم)).
Reference : Riyad as-Salihin 1621In-book reference : Book 18, Hadith 111