Imam Jafar Sadiq (a.s.): Allah sent 124,000 prophets and appointed a similar number as their successors who were all truthful, pious in the world and trustworthy. But no prophet was superior to Muhammad (s.a.w.a.) and no successor was superior to Ali b. Abi Talib (a.s.).
Hayaat al-Quloob v 2 chap 9