Abdullah bin Masud reported,

I heard the Prophet ﷺ say, "There is no envy except in two cases. A man whom Allah has given wealth and empowered to spend it in the cause of truth, and a man whom Allah has given wisdom by which he judges and which he teaches to others."

Bukhari 1409

Sahih

حدثنا محمد بن المثنى حدثنا يحيى عن إسماعيل قال حدثني قيس

عن ابن مسعود رضي الله عنه قال

سمعت النبي ﷺ يقول لا حسد إلا في اثنتين رجل آتاه الله مالا فسلطه على هلكته في الحق ورجل آتاه الله حكمة فهو يقضي بها ويعلمها

البخاري 1409صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Zakat
Chapter
Spending wealth in its rightful cause
Numbering
Darussalam 1409
Bukhari 1409