Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:10633Ḥasan > Shaybān > Qatādah > Abū Rāfiʿ > Abū Hurayrah

[Machine] The Messenger of Allah ﷺ said, "Verily, Ya'juj and Ma'juj will be mentioned in relation to us, except that he said, 'When their time comes and Allah wills to send them upon the people...'"  

أحمد:١٠٦٣٣حَدَّثَنَا حَسَنٌ حَدَّثَنَا شَيْبَانُ عَنْ قَتَادَةَ عَنْ أَبِي رَافِعٍ عَنْ أَبِي هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللهِ ﷺ إِنَّ يَأْجُوجَ وَمَأْجُوجَ فَذَكَرَ مَعْنَاهُ إِلَّا أَنَّهُ قَالَ إِذَا بَلَغَتْ مُدَّتُهُمْ وَأَرَادَ اللهُ ﷻ أَنْ يَبْعَثَهُمْ عَلَى النَّاسِ