Sayyiduna Abu Rafi' (may Allah be pleased with him) narrates: The Prophet (peace and blessings be upon him) said to Sayyiduna Ali bin Abi Talib (may Allah be pleased with him): "Indeed, Allah Almighty has commanded me to teach you and not to treat you harshly, and to keep you close and not to keep you distant. So it is now binding upon me to teach you, and it is binding upon you to retain it."
Al-Bazzar recorded it; its chain contains Muhammad bin Ubaydullah bin Abi Rafi', who is munkar al-hadith (his narrations are rejected), and another narrator, Abbad bin Ya'qub, is a Rafidi.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب العلم / 551