Imam Zayn-ul Abidin (as) said: "Our Qaim [Hazrat Mahdi (as)] will resemble the messengers of Allah in various ways. He will individually resemble Nuh (as), Ibrahim (as), Musa (as), 'Isa (as), Ayyup (as) and Muhammad (saas) and the other prophets. HE WILL RESEMBLE Nuh in being long-lived, IBRAHIM IN HIS BIRTH BEING CONCEALED (AT HOME) and away from the public eye, Musa (as) in his state of fear (in the intensity of the threats he faces; facing the threats of being killed, plots, arrest, detention and exile), and in his living apart (in constant concealment), 'Isa (as) in people constantly disputing over him (in some people saying, 'Hazrat Mahdi (as) will come' and other saying, he will not.'), Ayyup (as) in maturing after being rescued from a great trouble (Hazrat Mahdi (as) will suffer many difficulties, sicknesses and troubles, but, like the Prophet Ayyup (as), he will be freed from them by Allah's mercy) and Muhammad (saas) in his appearing with a sword (Hazrat Mahdi (as) will carry the sacred relics of our Prophet (saas), his holy standard, sword and robe)."
(Kamal'ud-Din p. 322, chapter 31. hadith 3)