"On the night on which the Messenger of Allah ﷺ was taken on the Night Journey (Isra'), he met Ibrahim, Musa and 'Eisa, and they discussed the Hour. They started with Ibrahim, and asked him about it, but he did not have any knowledge of it. Then they asked Musa, and he did not have any knowledge of it. Then they asked 'Eisa bin Maryam, and he said: 'I have been assigned to some tasks before it happens.' As for as when it will take place, no one knows that except Allah. Then he mentioned Dajjal and said: 'I will descend and kill him, then the people will return to their own lands and will be confronted with Gog and Magog people, who will: "swoop down from every mound."[21:96] They will not pass by any water but they will drink it, (and they will not pass) by anything but they will spoil it. They (the people) will beseech Allah, and I will pray to Allah to kill them. The earth will be filled with their stench and (the people) will beseech Allah and I will pray to Allah, then the sky will send down rain that will carry them and throw them in the sea. Then the mountains will turn to dust and the earth will be stretched out like a hide. I have been promised that when that happens, the Hour will come upon the people, like a pregnant woman whose family does not know when she will suddenly give birth.'" (One of the narrators) 'Awwam said: "Confirmation of that is found in the Book of Allah, where Allah says: "Until, when Gog and Magog people are let loose (from their barrier), and they swoop down from every mound (21:96)." (Using translation from Ibn Mājah 4081)
لَمَّا كَانَ لَيْلَةُ أُسْرِيَ بِرَسُولِ اللَّهِ ﷺ لَقِيَ إِبْرَاهِيمَ وَمُوسَى وَعِيسَى عَلَيْهِمُ الصَّلَاةُ وَالسَّلَامُ فَبَدَأُوا بِإِبْرَاهِيمَ فَسَأَلُوهُ عَنِ السَّاعَةِ فَلَمْ يَكُنْ عِنْدَهُ مِنْهَا عِلْمٌ فَسَأَلُوا مُوسَى فَلَمْ يَكُنْ عِنْدَهُ مِنْهَا عِلْمٌ فَرَدُّوا الْحَدِيثَ إِلَى عِيسَى فَقَالَ عَهْدُ اللَّهِ إِلَيَّ فِيمَا دُونَ وَجْبَتِهَا فَأَمَّا وَجْبَتُهَا فَلَا يَعْلَمُهَا إِلَّا اللَّهُ ﷻ فَذَكَرَ مِنْ خُرُوجِ الدَّجَّالِ فَأَهْبِطُ فَأَقْتُلُهُ فَيَرْجِعُ النَّاسُ إِلَى بِلَادِهِمْ فَيَسْتَقْبِلُهُمْ يَأْجُوجُ وَمَأْجُوجُ وَهُمْ مِنْ كُلِّ حَدَبٍ يَنْسِلُونَ لَا يَمُرُّونَ بِمَاءٍ إِلَّا شَرِبُوهُ وَلَا بِشَيْءٍ إِلَّا أَفْسَدُوهُ فَيَجْأَرُونَ إِلَيَّ فَأَدْعُوا اللَّهَ فَيُرْسِلُ السَّمَاءَ بِالْمَاءِ فَيَحْمِلُهُمْ فَيَقْذِفُ أَجْسَامَهُمْ فِي الْبَحْرِ ثُمَّ تُنْسَفُ الْجِبَالُ وَتُمَدُّ الْأَرْضُ مَدَّ الْأَدِيمِ وَعَهْدُ اللَّهِ إِلَيَّ أَنَّهُ إِذَا كَانَ السَّاعَةُ مِنَ النَّاسِ كَالْحَامِلِ الْمُتِمِّ لَا يَدْرِي أَهْلُهَا مَتَى تَفْجَأُهُمْ بِوِلَادَتِهَا أَلَيْلًا أَمْ نَهَارًا قَالَ الْعَوَّامُ فَوَجَدْتُ تَصْدِيقَ ذَلِكَ فِي كِتَابِ اللَّهِ ﷻ ثُمَّ قَرَأَ {حَتَّى إِذَا فُتِحَتْ يَأْجُوجُ وَمَأْجُوجُ وَهُمْ مِنْ كُلِّ حَدَبٍ يَنْسِلُونَ وَاقْتَرَبَ الْوَعْدُ الْحَقُّ} [الأنبياء 97]