Abdullah bin Masud reported,

The Messenger of Allah ﷺ said, "There is no envy except in two cases. A man whom Allah has given wealth and empowered him to spend it in the cause of truth, and another whom Allah has given wisdom by which he judges and which he teaches to others."

Bukhari 7141

Sahih

حدثنا شهاب بن عباد حدثنا إبراهيم بن حميد عن إسماعيل عن قيس

عن عبد الله قال

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

البخاري 7141صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Rulings
Chapter
Reward for one who judges with wisdom
Numbering
Darussalam 7141
Bukhari 7141