From Sahih Muslim (Hadith 6721):
Abu Dharr reported:It was said to Allah's Messenger (ﷺ): What is your opinion about the person who has done good deeds and the people praise him? He said: It is glad tidings for a believer (which he has received in this mortal world)
Reference: Muslim 6721