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.'" (TR)
English reference (TR): Vol. 5, Book 37, Hadith 4225 (TR)
Arabic reference (TR): Book 37, Hadith 4365 (TR)