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."
حدثنا محمد بن المثنى حدثنا يحيى عن إسماعيل قال حدثني قيس
سمعت النبي ﷺ يقول لا حسد إلا في اثنتين رجل آتاه الله مالا فسلطه على هلكته في الحق ورجل آتاه الله حكمة فهو يقضي بها ويعلمها