Al-Kāfi

Hadith 49
intellect
3ـ الْحُسَيْنُ بْنُ مُحَمَّدٍ عَنْ مُعَلَّى بْنِ مُحَمَّدٍ عَنِ الْحَسَنِ بْنِ عَلِيٍّ الْوَشَّاءِ عَنْ حَمَّادِ بْنِ عُثْمَانَ عَنْ أَبِي عَبْدِ الله (عَلَيْهِ السَّلام) قَالَ إِذَا أَرَادَ الله بِعَبْدٍ خَيْراً فَقَّهَهُ فِي الدِّينِ.
3. Al-Hassan ibn Muhammad has narrated from Mu‘alla ibn Muhammad from al-Hassan ibn Ali al-Washsha’ from Hammad ibn ‘Uthman that Abu ‘Abdillah (al-Sadiq) (as) said: 'If Allah (swt) wants goodness for a servant, he will teach him the jurisprudence (fiqh) of religion.'
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī