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