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:260Makhlad b. Mālik > Makhlad b. Ḥusayn > Hishām > al-Ḥasan

[Machine] "Whoever seeks something from this knowledge and intends with it what is with Allah, he will attain it if Allah wills. And whoever intends with it worldly gain, then that is his portion from it by Allah."  

الدارمي:٢٦٠أَخْبَرَنَا مَخْلَدُ بْنُ مَالِكٍ حَدَّثَنَا مَخْلَدُ بْنُ حُسَيْنٍ عَنْ هِشَامٍ عَنِ الْحَسَنِ قَالَ

«مَنْ طَلَبَ شَيْئًا مِنْ هَذَا الْعِلْمِ فَأَرَادَ بِهِ مَا عِنْدَ اللَّهِ يُدْرِكْ إِنْ شَاءَ اللَّهُ وَمَنْ أَرَادَ بِهِ الدُّنْيَا فَذَاكَ وَاللَّهِ حَظُّهُ مِنْهُ»