It was said to the Messenger of Allah (may Allah’s peace and blessings be upon him): "What do you think of a man who does a good deed and people praise him for it?" He said: That is instant good news for the believer. [Muslim]
"عن أبي ذر -رضي الله عنه- قال: قيل لرسول الله -صلى الله عليه وسلم-: أرأيت الرَّجل الذي يعمل العمل من الخَير، ويَحمدُه الناس عليه؟ قال: «تلك عاجِل بُشْرَى المؤمن». [صحيح.] - [رواه مسلم.]