The Messenger of Allah ﷺ said, "Ali is from me and I am from Ali, and none shall fulfill my obligations on my behalf except myself or Ali."
حدثنا إسمعيل بن موسى حدثنا شريك عن أبي إسحق
قال رسول الله ﷺ علي مني وأنا من علي ولا يؤدي عني إلا أنا أو علي
[Hasan]. Ibn Majah also narrated it in the Introduction, chapter on the virtue of Ali bin Abu Talib , hadith no. 119, from Ismail bin Musa with the same wording. Israil and others narrated it from Abu Ishaq, and he explicitly stated that he heard it directly.