Sunan Ibn Majah, Book 36, Hadith 154 (In-Book)

It was narrated from Abu Sa'eed Al-Khudri that the Messenger of Allah said: "Gog and Magog people will be set free and they will emerge as Allah says: "swoop(ing) down from every mound."[21:96] They will spread throughout the earth, and the Muslims will flee from them until the remainder of the Muslims are in their cities and fortresses, taking their flocks with them. They will pass by a river and drink from it, until they leave nothing behind, and the last of them will follow in their footsteps and one of them will say: 'There was once water in this place.' They will prevail over the earth, then their leader will say: 'These are the people of the earth, and we have finished them off. Now let us fight the people of heaven!' Then one of them will throw his spear towards the sky, and it will come back down smeared with blood. And they will say: 'We have killed the people of heaven.' While they are like that, Allah will send a worm like the worm that is found in the noses of sheep, which will penetrate their necks and they will die like locusts, one on top of another. In the morning the Muslims will not hear any sound from them, and they will say: 'Who will sell his soul for the sake of Allah and see what they are doing?' A man will go down, having prepared himself to be killed by them, and he will find them dead, so he will call out to them: 'Be of good cheer, for your enemy is dead!' Then the people will come out and let their flocks loose, but they will not have anything to graze on except their flesh, and they will become very fat as if they were grazing on the best vegetation they ever found.'"

حَدَّثَنَا أَبُو كُرَيْبٍ، حَدَّثَنَا يُونُسُ بْنُ بُكَيْرٍ، عَنْ مُحَمَّدِ بْنِ إِسْحَاقَ، حَدَّثَنِي عَاصِمُ بْنُ عُمَرَ بْنِ قَتَادَةَ، عَنْ مَحْمُودِ بْنِ لَبِيدٍ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ قَالَ ‏"‏ تُفْتَحُ يَأْجُوجُ وَمَأْجُوجُ فَيَخْرُجُونَ كَمَا قَالَ اللَّهُ تَعَالَى ‏{وَهُمْ مِنْ كُلِّ حَدَبٍ يَنْسِلُونَ}‏ فَيَعُمُّونَ الأَرْضَ وَيَنْحَازُ مِنْهُمُ الْمُسْلِمُونَ حَتَّى تَصِيرَ بَقِيَّةُ الْمُسْلِمِينَ فِي مَدَائِنِهِمْ وَحُصُونِهِمْ وَيَضُمُّونَ إِلَيْهِمْ مَوَاشِيَهُمْ حَتَّى أَنَّهُمْ لَيَمُرُّونَ بِالنَّهَرِ فَيَشْرَبُونَهُ حَتَّى مَا يَذَرُونَ فِيهِ شَيْئًا فَيَمُرُّ آخِرُهُمْ عَلَى أَثَرِهِمْ فَيَقُولُ قَائِلُهُمْ لَقَدْ كَانَ بِهَذَا الْمَكَانِ مَرَّةً مَاءٌ وَيَظْهَرُونَ عَلَى الأَرْضِ فَيَقُولُ قَائِلُهُمْ هَؤُلاَءِ أَهْلُ الأَرْضِ قَدْ فَرَغْنَا مِنْهُمْ وَلَنُنَازِلَنَّ أَهْلَ السَّمَاءِ حَتَّى إِنَّ أَحَدَهُمْ لَيَهُزُّ حَرْبَتَهُ إِلَى السَّمَاءِ فَتَرْجِعُ مُخَضَّبَةً بِالدَّمِ فَيَقُولُونَ قَدْ قَتَلْنَا أَهْلَ السَّمَاءِ ‏.‏ فَبَيْنَمَا هُمْ كَذَلِكَ إِذْ بَعَثَ اللَّهُ دَوَابَّ كَنَغَفِ الْجَرَادِ فَتَأْخُذُ بِأَعْنَاقِهِمْ فَيَمُوتُونَ مَوْتَ الْجَرَادِ يَرْكَبُ بَعْضُهُمْ بَعْضًا فَيُصْبِحُ الْمُسْلِمُونَ لاَ يَسْمَعُونَ لَهُمْ حِسًّا فَيَقُولُونَ مَنْ رَجُلٌ يَشْرِي نَفْسَهُ وَيَنْظُرُ مَا فَعَلُوا فَيَنْزِلُ مِنْهُمْ رَجُلٌ قَدْ وَطَّنَ نَفْسَهُ عَلَى أَنْ يَقْتُلُوهُ فَيَجِدُهُمْ مَوْتَى فَيُنَادِيهِمْ أَلاَ أَبْشِرُوا فَقَدْ هَلَكَ عَدُوُّكُمْ ‏.‏ فَيَخْرُجُ النَّاسُ وَيُخْلُونَ سَبِيلَ مَوَاشِيهِمْ فَمَا يَكُونُ لَهُمْ رَعْىٌ إِلاَّ لُحُومُهُمْ فَتَشْكَرُ عَلَيْهَا كَأَحْسَنِ مَا شَكِرَتْ مِنْ نَبَاتٍ أَصَابَتْهُ قَطُّ ‏"‏ ‏.‏

sunnah.com