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 to spend it in the cause of truth, and a man whom Allah has granted wisdom, by which he judges and which he teaches to others."

Ibn Majah 4208

Sahih

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

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

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

ابن ماجه 4208صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Asceticism
Chapter
Envy
Numbering
Darussalam 4208
Ibn Majah 4208