Hadithcore
Riyad as-Salihin, 543

Ibn Mas'ud (May Allah be pleased with him) reported:

The Prophet (ﷺ) said, "Envy is permitted only in two cases: A man whom Allah gives wealth, and he disposes of it rightfully, and a man to whom Allah gives knowledge which he applies and teaches it." <b>[Al- Bukhari and Muslim]</b>.

وعن ابن مسعود رضي الله عنه عن النبي صلى الله عليه وسلم قال‏:‏ ‏

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

‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Introduction, Hadith 543
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) It urges people to compete in doing acts of goodness. The Prophet (may Allah’s peace and blessings be upon him) mentioned this area of goodness only to encourage the believers to compete over it.<br> 2) All blessings come from Allah Almighty, and we are required to show gratitude for them. To this end, we should use the blessings in the ways determined by the One Who bestowed them.<br> 3) Spending is a general term that includes spending of money and spending of knowledge.<br> <br> <b>Benefit:</b><br> In wisdom and knowledge, people fall under four categories:<br> First: those who are not given wisdom at all; they are the ignorant.<br> Second: those whom Allah has given wisdom, yet they are sparing with it, even with regard to themselves. So, they do not make use of it. Those are the heedless. They are endowed with knowledge and deprived of work. Nonetheless, they are one degree higher than the first category.<br> Third: those whom Allah has given wisdom and they use it, but do not teach it to others. So, they are in limited goodness.<br> Fourth: those whom Allah has given wisdom and they use it and teach it to others so that everyone can benefit therefrom. Those are the most virtuous. So, dear fellow Muslims, be keen to belong to this fourth category.
Related hadiths9
Compare isnād across 9 related chains →