Abu Hurairah reported,

The Messenger of Allah ﷺ said, "There is no envy except in two cases. A man whom Allah has taught the Quran, so he recites it throughout the hours of the night and the hours of the day, and a neighbor of his hears him and says, 'If only I had been given the like of what so-and-so has been given, I would do as he does.' And a man whom Allah has granted wealth, which he spends in the cause of truth, so another man says, 'If only I had been given the like of what so-and-so has been given, I would do as he does.'"

Azami 4022

Sahih

عن أبي هريرة

أن رسول الله ﷺ قال: لا حسد إلا في اثنتين رجل علمه الله القرآن فهو يتلوه آناء الليل وآناء النهار فسمعه جار له فقال: ليتني أوتيت مثل ما أوتي فلان فعملت مثل ما يعمل، ورجل آتاه الله مالا فهو يهلكه في الحق، فقال رجل: ليتني أوتيت مثل ما أوتي فلان فعملت مثل ما يعمل.

الأعظمي 4022صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Zakat
Chapter
Encouragement to pay zakat and charity and the ways of spending them
Section
Envy of those who have abundant wealth for spending
Numbering
Jami al-Kamil 4022 (2nd edition)
Azami 4022