بسم الله الواحد القهار
He said: Abu Ja'far Mohammad Ibn Ali Ibn Al-Husain Ibn Babawaih, may Allah bless him with mercy, reported to me from his father, who reported from Sa'd Ibn Abdullah, from Ayyub Ibn Nuh, from Safwan Ibn Yahya, from Aban Ibn Uthman, who reported that: Abu Abdullah, Ja'far Ibn Mohammad(عليه السلام), said:
'On the Day of Resurrection, an announcer will announce from inside the Throne: "Where is the Khalifa of Allah on earth?" So Dawood, the Prophet, will stand up and the voice from Allah, Most High, will say: "We do not mean you, although you were Allah's Khalifa." Then a second announcement will be made:
"Where is Allah's Khalifa on earth?" Then Amirul Mu'mineen, Ali Ibn Abi Talib(عليه السلام), will rise. So a voice will come from Allah, Most High: "O people! This Ali Ibn Abi Talib is the khalifa of Allah on His earth and His proof over His servants. So whoever adhered to his rope while on earth, should hang on to his rope here (also), so that he may have the benefit of his light and may follow him in the rising ranks of Paradise."
He said: A group of people will rise who had adhered to his rope in their life on earth, and will follow him into Paradise.
Then there will be announcement from Allah, Most High: "those who followed a leader (Imam) while living on earth, follow him as he goes, and they will go with him." That will be the time when "those who led will dissociate themselves from those who followed them, and they will see the chastisement, and all relations between them will be severed. And those who followed will say: if only we had one more chance, we would dissociate ourselves from them, as they have disowned themselves from us. Thus will Allah show them their deeds as anguish for them and never will they come out of the hellfire." [2:166,167].'
Source: Al-Amali of Al-Mufid, Ch. 34 Pg. 285
Grading: the chain is Sahih(authentic).
Check the narrators in the Rijaal section:
1727: Mohammad Ibn Ali Ibn Al-Husain Ibn Babawaih Al-Qummi
1231: Ali Ibn Al-Husain Ibn Musa Ibn Babawaih(father of Sheikh As-Saduq)
809: Sa'd Ibn Abdullah Ibn Abi Khalaf
254: Ayyub Ibn Nuh
926: Safwan Ibn Yahya
10: Aban Ibn Uthman Al-Ah'mar