Hadith 1.2
Knowledge
Abu Huraira reported God’s messenger as saying, “If anyone acquires knowledge of things by which God’s good pleasure is sought, but acquires it only to get some worldly advantage, he will not experience the <i>‘arf</i>, i.e. the odour, of paradise on the day of resurrection.” Ahmad, Abu Dawud and Ibn Majah transmitted it.
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَنْ تَعَلَّمَ عِلْمًا مِمَّا يُبْتَغَى بِهِ وَجْهُ اللَّهِ لَا يَتَعَلَّمُهُ إِلَّا لِيُصِيبَ بِهِ عَرَضًا مِنَ الدُّنْيَا لَمْ يَجِدْ عَرْفَ الْجَنَّةِ يَوْمَ الْقِيَامَةِ» . يَعْنِي رِيحَهَا. رَوَاهُ أَحْمَدُ وَأَبُو دَاوُدَ وَابْن مَاجَه
Hadith gradings, numbering and translations can differ between editions. For legal rulings or detailed interpretation, consult qualified scholarship and the referenced edition.