Sunan Ibn Majah, Book 37, Hadith 4365 (In-Book) ⓘ
It was narrated from Abu Dharr: “I said to the Prophet: ‘(What do you say about when) a man does a deed for the sake of Allah, and people love him for it?’ He said: ‘That is the immediate glad tidings of the believer.’”
حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، حَدَّثَنَا شُعْبَةُ، عَنْ أَبِي عِمْرَانَ الْجَوْنِيِّ، عَنْ عَبْدِ اللَّهِ بْنِ الصَّامِتِ، عَنْ أَبِي ذَرٍّ، عَنِ النَّبِيِّ ـ صلى الله عليه وسلم ـ قَالَ قُلْتُ لَهُ : الرَّجُلُ يَعْمَلُ الْعَمَلَ لِلَّهِ فَيُحِبُّهُ النَّاسُ عَلَيْهِ قَالَ : " ذَلِكَ عَاجِلُ بُشْرَى الْمُؤْمِنِ " .
also referenced under: Hadith 4225 (Reference) & Volume 5, Book 37, Hadith 4225 (DarusSalam)