this hadeeth comes to us with a sahih chain in sheikh mufeed’s amali, and it gives us an overview of fadail of mola ali asws, and the need to get his maarifat

the hadeeth says:-

4. In praise of Ali (AS)

He said: Abu Ja’far Muhammad b. Ali b. al-Husain reported to me from his father, who reported from Muhammad b. Yahya al-Attar, who reported from Ahmad b. Muhammad b. Isa, from Ali b. Al-Hakam, from Hisham b. Salim, from Sulaiman b. Khalid, from Abu Abdillah Ja’far b. Muhammad al-Sadiq, peace be upon him, from his forefathers, peace be upon them, who said:

The Prophet, peace be upon him and his progeny, told Ali, peace be upon him: “O Ali, you are from me and I from you. Your friend is my friend and my friend is Allah’s friend. And your enemy is my enemy and my enemy is the enemy of Allah.

O Ali, I am at war with the one who fights you and at peace with one who is at peace with you. O Ali, you have a treasure in the Heaven and you are the master of its both sides. O Ali, you are the divider of heaven and hell. None shall enter the heaven unless he has recognized you, and you have recognized him! And none shall enter hell unless he has rejected you and you have rejected him. O Ali, you and your descendants shall be on the heights (al-A’araaf) on the Day of Judgment, recognizing the sinners by their marks, and the believers by their signs. O Ali, the believers would not have been distinguished, after I have departed, if you were not there.”

[amali, sheikh mufeed, 24th majlis, 4th hadeeth]