After Nabi Isa (‘alaihis salaam) kills Dajjaal and defeats his army, Allah Ta‘ala will cause good conditions to prevail in the world, and the entire world will embrace Islam. This condition will continue for some time, and then Allah Ta‘ala send wahi to Nabi Isa (‘alaihis salaam) informing him of the emergence of Ya’jooj and Ma’jooj.
Rasulullah (sallallahu ‘alaihi wasallam) mentioned in his Mubaarak Hadith that Allah Ta‘ala will send wahi to Nabi Isa (‘alaihis salaam) saying, “We are about to release such a creation against whom you and the people have no power to fight. Therefore, take the Muslims and seek refuge in Mount Toor.”
Ya’jooj and Ma’jooj will thereafter emerge, and after their emergence, they will cause great turmoil and havoc in the earth. Eventually, Allah Ta‘ala will destroy them. Nabi Isa (‘alaihis salaam) and the Muslims will then descend from the mountain.
In the Hadith of Saheeh Muslim and Sunan Tirmizi, Rasulullah (sallallahu ‘alaihi wasallam) described the fitnah of Ya’jooj and Ma’jooj saying:
After Dajjaal is killed, Nabi Isa (‘alaihis salaam) will come to a group of people whom Allah Ta‘ala had protected from Dajjaal. He will pass his hand over their faces (to remove the dust and weariness) and will inform them of their ranks in Jannah (to console them after the difficulties they had underwent). During that period, Allah Ta‘ala will send wahi to Nabi Isa (‘alaihis salaam) saying, “I have unleashed certain servants of mine against whom no person has the power or ability to fight. Hence, take my servants to the Mountain of Toor to seek refuge and protection.”
Allah Ta‘ala will thereafter release Ya’jooj and Ma’jooj who will rush down from every hill. As the first people of their group will pass by the lake of Tiberias, they will drink all of its water. Hence, when the last people of their group pass by, they will say, “There was once water here.” They will then proceed until they arrive at the Mountain of Baytul Muqaddas.
Thereafter, they will say, “We have killed those in the earth. Come! Let us now kill the people of the sky!” Saying this, they will fire their arrows into the sky. Allah Ta‘ala will cause their arrows to return to them stained with blood (due to perhaps striking birds and getting stained, after which they will believe that they have killed the people of the sky).
Nabi Isa (‘alaihis salaam) and the Muslims will be confined to the Mountain of Toor, until (due to the lack of food at that time,) the head of an ox (which is normally cheap) for those people will be worth more than one hundred dinars for you people today. Nabi Isa (‘alaihis salaam) and the Muslims will then turn to Allah Ta‘ala in du‘aa, begging him to destroy Ya’jooj and Ma’jooj. Allah Ta‘ala will thus afflict them with a worm in their necks due to which by the morning, they will all have died at once.
Nabi Isa (‘alaihis salaam) and the Muslims will then descend from the mountain. On descending, they will not find even one space equal to a hand-span that will be free of the stench and blood of the corpses of Ya’jooj and Ma’jooj. Nabi Isa (‘alaihis salaam) and the Muslims will thus make du‘aa to Allah Ta‘ala again (to remove the corpses of Ya’jooj and Ma’jooj). Allah Ta‘ala will then send birds which will have necks like camels. These birds will carry the corpses away and will dispose of them in the place where Allah Ta‘ala wills. The Muslims will use the bows, arrows and quivers of Ya’jooj and Ma’jooj as fuel for their fires for seven years thereafter.
Allah Ta‘ala will then send a rain from which neither a tent of fur nor a house of mud will be able to give shelter. This rain will cover the earth, leaving it as clean as a mirror. The earth will thereafter be commanded by Allah Ta‘ala, “Produce your fruit and return your blessings.”
As a result, at that time, a group of people will eat from one pomegranate and will be sheltered by its peel. There will be such barakah (blessing) in milk that a large group of people (more than a tribe) will be able to suffice on the milk of one she-camel, a tribe will be able to suffice on the milk of a cow and a family will be able to suffice on the milk of a goat.
Nabi Isa (‘alaihis salaam) Passing Away and Being Buried Next to Rasulullah (sallallahu ‘alaihi wasallam)
After Ya’jooj and Ma’jooj are destroyed by Allah Ta‘ala, Nabi Isa (‘alaihis salaam) will continue to live in the world for some time, and thereafter he will pass away. The Muslims will perform his janaazah salaah and he will be buried next to Rasulullah (sallallahu ‘alaihi wasallam).
From the time of his descent, Nabi Isa (‘alaihis salaam) will live in the world for the total period of forty-five years.
Rasulullah (sallallahu ‘alaihi wasallam) said, “Isa bin Maryam (‘alaihis salaam) will descend to the earth. After his descent, he will marry and have children. He will remain in the world for forty-five years after which he will pass away. He will be buried next to my grave. Hence, (on the Day of Qiyaamah,) I will rise up with him from the same place between Abu Bakr and Umar (radhiyallahu ‘anhuma).” (Mishkaat #5508)
In another Hadith, Hazrat Abdullah bin Salaam (radhiyallahu ‘anhu) reports, “The description of Muhammad (sallallahu ‘alaihi wasallam) is recorded in the Towraah, and it is also recorded in the Towraah that Nabi Isa bin Maryam (‘alaihis salaam) will be buried with him.” (Sunan Tirmizi #3617)