Imam Ali (A.S.) led the funeral prayer of the Prophet Muhammad Peace and Salutation Upon Him and His Progeny. It is to be noted that many famous persons did not attend the funeral of the Prophet because they were busy in the conspiracy of Saqeefah which was been done by the opponents of Imam Ali (A.S.) who was busy in the funeral while Saqeefah group wanted to grab away his rights in leading the Ummah which was repeatedly declared by the Prophet (Peace and Salutation be Upon Him and His Holy Progeny).
Wassalaam