Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
darimi:263Abū ʿĀṣim > Muḥammad b. ʿUmārah b. Ḥazm > ʿAbdullāh b. ʿAbd al-Raḥman

[Machine] The Messenger of Allah ﷺ said, "No one seeks this knowledge except for worldly gains, but Allah will prohibit them from entering Paradise on the Day of Judgment."  

الدارمي:٢٦٣أَخْبَرَنَا أَبُو عَاصِمٍ حَدَّثَنَا مُحَمَّدُ بْنُ عُمَارَةَ بْنِ حَزْمٍ حَدَّثَنِي عَبْدُ اللَّهِ بْنُ عَبْدِ الرَّحْمَنِ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ «لَا يَطْلُبُ هَذَا الْعِلْمَ أَحَدٌ لَا يُرِيدُ بِهِ إِلَّا الدُّنْيَا إِلَّا حَرَّمَ اللَّهُ عَلَيْهِ عَرْفَ الْجَنَّةِ يَوْمَ الْقِيَامَةِ»