It is narrated from Sayyiduna Abdullah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Envy (praiseworthy envy, i.e. emulation) is permissible only in two cases: a man to whom Allah Almighty has given wealth and has then granted him full ability to spend it and give it away in the way of truth; and another man to whom Allah Almighty has granted wisdom, so he judges by it and teaches it to people."
Hadith Referenceمسند أبي يعلى الموصلي / مسند عبد الله بن مسعود / 5186
Hadith Gradingمحدثین:إسناده صحيح
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده صحيح . » «قال سعيد بن محمد السناري: صحيح: مضى سابقًا [برقم 5078]» «أخرجه صحيح البخاري برقم: 6722، وأخرجه صحيح مسلم برقم: 816، وأخرجه سنن ابن ماجه برقم: 4208، وأخرجه مسند أحمد برقم: 3643، 4098، وأخرجه فتح الباري برقم: 256، 807، 6886، 7091، وأخرجه المعجم الأوسط للطبراني برقم: 1733، مسند ابویعلیٰ ترقیم الاثری: 5164»