Hadith 126

أَخْبَرَنَا ابْنُ قُتَيْبَةَ ، حَدَّثَنَا حَرْمَلَةُ ، حَدَّثَنَا ابْنُ وَهْبٍ ، أَخْبَرَنِي يُونُسُ ، عَنِ ابْنِ شِهَابٍ ، أَخْبَرَنِي سَالِمُ بْنُ عَبْدِ اللَّهِ ، عَنْ أبيه ، قَالَ : قَالَ رَسُولُ اللَّهِ صَلَّى الِلَّهِ عَلَيْهِ وَسَلَّمَ : " لا حَسَدَ إِلا عَلَى اثْنَتَيْنِ : رَجُلٌ آتَاهُ الِلَّهِ هَذَا الْكِتَابَ ، فَقَامَ بِهِ آنَاءَ اللَّيْلِ وَالنَّهَارِ ، وَرَجُلٌ أَعْطَاهُ الِلَّهِ مَالا فَتَصَدَّقَ بِهِ آنَاءَ اللَّيْلِ ، وَآنَاءَ النَّهَارِ " .
Salim bin Abdullah narrates from his father, Sayyiduna Abdullah bin Umar (may Allah be pleased with him), that the Prophet Muhammad (peace be upon him) said: "Envy is permitted only towards two types of people. One is the person to whom Allah has given knowledge of His Book, and he remains engaged with it day and night; and the other is the person to whom Allah has given wealth, and he spends it in charity day and night."
Hadith Reference صحیح ابن حبان / كتاب العلم / 126
Hadith Grading فضيلة الشيخ الإمام محمد ناصر الدين الألباني صحيح - انظر ما قبله. فضيلة الشيخ العلّامة شُعيب الأرناؤوط إسناده صحيح على شرط مسلم.