THE RICH AND THE WISE H 574 "There are only two categories of people worthy of envy, they are: a man to whom Allah has given wealth so he spent it on the truth; and a man to whom Allah has given wisdom with which he judges and teaches." R 574 Bukhari and Muslim with a chain up to ibn Mas'ud who related that the Prophet, praise and peace be upon him, said this.
570- وعن عبدِ الله بن مسعود رضي الله عنه ، قَالَ : قَالَ رسول الله صلى الله عليه وآله وسلم : "لاَ حَسَدَ إِلاَّ في اثْنَتَيْنِ : رَجُلٌ آتَاهُ اللهُ مَالاً ، فَسَلَّطَهُ عَلَى هَلَكَتِهِ فِي الحَقِّ ، وَرَجُلٌ آتَاهُ اللهُ حِكْمَةً فَهُوَ يَقضِي بِهَا وَيُعَلِّمُهَا" متفقٌ عَلَيْهِ . وتقدم شرحه قريباً .