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:371ʿAbdullāh b. Saʿīd > ʿAbdullāh b. al-Ajlaḥ from my father > Mujāhid

[Machine] "We have sought this knowledge, and we do not have a great intention in it. Then Allah provided us with the intention."  

الدارمي:٣٧١أَخْبَرَنَا عَبْدُ اللَّهِ بْنُ سَعِيدٍ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ الْأَجْلَحِ حَدَّثَنِي أَبِي عَنْ مُجَاهِدٍ قَالَ

«طَلَبْنَا هَذَا الْعِلْمَ وَمَا لَنَا فِيهِ كَبِيرُ نِيَّةٍ ثُمَّ رَزَقَ اللَّهُ بَعْدُ فِيهِ النِّيَّةَ»