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 the power 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."

Muslim 1896

Sahih

و حدثنا أبو بكر بن أبي شيبة حدثنا وكيع عن إسمعيل عن قيس قال قال عبد الله بن مسعود ح و حدثنا ابن نمير حدثنا أبي ومحمد بن بشر قالا حدثنا إسمعيل عن قيس قال سمعت

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

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

مسلم 1896صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Virtues of the Quran and what relates to it
Chapter
Virtue of one who stands with the Quran and teaches it, and virtue of one who learns wisdom from fiqh or other fields then acts upon it and teaches it
Numbering
Darussalam 1896
Muslim 1896