It wasnarrated from Abu Dharr:
"I said to the Prophet (ﷺ): '(Whatdoyou say about when) a man does a deed for the sake of Allah, andpeople love him for it?' He said: 'That is the immediate gladtidingsof the believer.'" (RU)
English reference (RU): Vol. 5, Book 37, Hadith 4225 (RU)
Arabic reference (RU): Book 37, Hadith 4365 (RU)