Al-Kāfi - Volume 1

Chapter #49

Allah, the Most Holy, the Most High, did not teach anything to His Messenger but that He commanded him to teach such knowledge to Amir al-Mu’minin (a.s) and he was his partner in Knowledge