DARIMI 260:
from 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."
الدارمي ٢٦٠:
عن الحسن —
«مَنْ طَلَبَ شَيْئًا مِنْ هَذَا الْعِلْمِ فَأَرَادَ بِهِ مَا عِنْدَ اللَّهِ يُدْرِكْ إِنْ شَاءَ اللَّهُ وَمَنْ أَرَادَ بِهِ الدُّنْيَا فَذَاكَ وَاللَّهِ حَظُّهُ مِنْهُ»