It was said to Messenger of Allah ﷺ: 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). (Using translation from Muslim 2642a)
أَنَّهُ قَالَ يَا رَسُولَ اللهِ أَرَأَيْتَ الرَّجُلَ يَعْمَلُ الْعَمَلَ يُحِبُّهُ النَّاسُ عَلَيْهِ؟ قَالَ تِلْكَ عَاجِلُ بُشْرَى الْمُؤْمِنِ