Salim narrates from his father, Sayyiduna Abdullah bin Umar (may Allah be pleased with him), that the Prophet Muhammad (peace and blessings be upon him) said: "Envy is permitted only towards two types of people. One is the person whom Allah has granted knowledge of the Qur'an, and he remains engaged with it day and night; and the other is the person whom Allah has granted wealth, and he spends it day and night."
Hadith Referenceصحیح ابن حبان / كتاب العلم / 125
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «التعليق الرغيب» (1/ 221)، «الروض النضير» (897).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط مسلم. العَدَني: هو محمد بن حيى بن أبي عمر.