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).
This hadith has been narrated through another chain of transmitters also and the one transmitted on the authority of Shu'ba (the words are)
" People love him." In the hadith transmitted on the authority of 'Abd-us-Samad (the words are):" People praise him as stated by Hammad."