Similarity Of Imam Mahdi (A.S.) To The Prophets (A.S.)
 
The Holy Prophet (S.A.W.S.) said,
"Al Mahdi is from my progeny. His name is the same as my name. And his kunniyat is the same as my kunniyat. In his physique and character he looks exactly like me. He will be in a state of occultation and there will be confusion (Hayra) in which people will wander about (deviate). Then he will come forth like a sharpy shooting star to fill the earth will justice and equity as it was filled before with injustice and inequity."
(Kamaaluddin Vol.1 Pg.286. Faraidus Simtain Vol.2 Pg.335) 
Imam Muhammed Al Baqir (A.S.) said,
"Certainly in the Qaem of the Progeny of Muhammed (S.A.W.S.) is the similarity to five prophets, Yunus bin Mutah, and Yusuf bin Yaqoob, and Musa, and Isa and Muhammed, salawatullahe Alaihim"
Thus, his similarity to Yunus bin Mutha is his reappearance after Ghaibat. He looked like a young man inspite of his advanced age.

And, his similarity with Yusuf bin Yaqoob (A.S.) is his ghaibat when he was away from the sight of the general, as well as the special people; due to the fear of his brothers.

His affair was hidden from his father. And in such a condition when there was no distance between his father and family and his friends.

And his similarity with Musa (A.S.) is persistent fear, and his prolonged ghaibat and a secret birth, and the feverent pleas of his shias after him, and his return by the permission of Allah, and his assistance by the people in subduing of the enemy.

And his similarity to Isa (A.S.) is the controversy among the people with regard to him. A group of them says; 'He is not yet bom.' Another group says, "He is dead* and some say: "He was killed and crucified,"

And his similarity with his own grandfather, Mustafa (S.A.W.S.), is his advent with the sword. He shall slay the enemies of Allah and the Holy Prophet (S.A.W.S.), and the unjust, and the tyrants."
(Kamaaluddin Vol.1 Pg.327) 
Imam as-Sajyad (A.S.) said,
"In the Qaem is a similarity to Nuh (AS.) and that is his long life."
(Kamaaluddin Vol.1, Pg.322. & Vol.2. Pg.524)