Hadith Q2507

إِذِ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَدْ أَعْلَمَ أَنَّهُ يُعْتَمَرُ وَيُحَجُّ الْبَيْتُ بَعْدَ خُرُوجِ يَأْجُوجَ وَمَأْجُوجَ
It will not happen before their emergence, because the Noble Prophet (peace and blessings be upon him) has informed that even after the emergence of Gog and Magog, Hajj and Umrah of the House of Allah will be performed.
Hadith Reference صحيح ابن خزيمه / كتاب: المناسك / Q2507