Hadith on Magog: Righteous will perish if evil dominates

Zaynab bint Jahsh reported: The Prophet, peace and blessings be upon him, came to me while he was frightened and he said, “There is no God but Allah! Woe to the Arabs from an evil drawing near! An opening has been made today in the barrier of Gog and Magog like this,” and he made a circle with this thumb and finger. I said, “O Messenger of Allah, will we perish while there are righteous people among us?” The Prophet said, “Yes, if wickedness prevails.”

Source: Ṣaḥīḥ al-Bukhārī 3168, Ṣaḥīḥ Muslim 2880

Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim

عَنْ زَيْنَبَ بِنْتِ جَحْشٍ رَضِيَ اللَّهُ عَنْهُنَّ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ دَخَلَ عَلَيْهَا فَزِعًا يَقُولُ لَا إِلَهَ إِلَّا اللَّهُ وَيْلٌ لِلْعَرَبِ مِنْ شَرٍّ قَدْ اقْتَرَبَ فُتِحَ الْيَوْمَ مِنْ رَدْمِ يَأْجُوجَ وَمَأْجُوجَ مِثْلُ هَذِهِ وَحَلَّقَ بِإِصْبَعِهِ الْإِبْهَامِ وَالَّتِي تَلِيهَا قَالَتْ زَيْنَبُ بِنْتُ جَحْشٍ فَقُلْتُ يَا رَسُولَ اللَّهِ أَنَهْلِكُ وَفِينَا الصَّالِحُونَ قَالَ نَعَمْ إِذَا كَثُرَ الْخَبَثُ

3168 صحيح البخاري كتاب أحاديث الأنبياء باب قصة يأجوج ومأجوج

2880 صحيح مسلم كتاب الفتن وأشراط الساعة باب اقتراب الفتن وفتح ردم يأجوج ومأجوج