Hadith of Jesus praying behind Mahdi

Hadith of Jesus Praying Behind Mahdi refers to a collection of hadith (sayings of Muhammad related to the prophecy that after Jesus (Isa) descends and joins the Mahdi and his followers in the final days before the destruction of Earth, Jesus will decline the offer of the Mahdi to lead the Mahdi and company in salat (Islamic ritual prayer which Muslims perform five times a day) telling the Mahdi to lead. The Mahdi is an Islamic figure in Islamic eschatology, and salat is the Islamic practice of worship of God. The prophecy is narrated in numerous hadith collections. A total of 29 Hadiths relate the return of Jesus, and his prayer with Mahdi's lead.

Hadith
Both Sunni and Shia hadith narrate this story.

Allamah Sayyid Sa'eed Akhtar Rizvi quotes the above tradition in his book "Muhammad (S) is the Last Prophet" and concludes:"This refers to the fact that prophet Jesus (a.s.) will not lead in the prayer, but the Imam of the Muslims who will leading them will lead in the prayers, and prophet Jesus will follow him."

Abu Ya’ala provides another version of this hadith in his musnad with more clear terms.

Interpretation
Sunni and Shia Muslims hold that Isa (Jesus) and the Mahdi will be present at the same time, that the leaders who will carry out their commands will be from the Quraysh tribe, It's also believed that he will perform the prayer behind Mahdi. Jalaluddin al-Suyuti writes in his Nuzool Isa Ibn Maryam Akhir al-Zaman that: "I have heard some of the deniers of (truth) deny what has been conveyed about Jesus that when he descends will pray the Fajr prayer behind al-Mahdi. They say, Jesus has higher status than to pray behind a non-Prophet. This is a bizarre opinion since the issue of prayer of Jesus behind al-Mahdi has been proven strongly via numerous authentic traditions from the Messenger of Allah, who is the most truthful."