(47) بَابُ قَوْلِ اللَّهِ تَعَالَى: {جَعَلَ اللَّهُ الْكَعْبَةَ الْبَيْتَ الْحَرَامَ قِيَامًا لِلنَّاسِ وَالشَّهْرَ الْحَرَامَ وَالْهَدْيَ وَالْقَلاَئِدَ ذَلِكَ لِتَعْلَمُوا أَنَّ اللَّهَ يَعْلَمُ مَا فِي السَّمَوَاتِ وَمَا فِي الأَرْضِ وَأَنَّ اللَّهَ بِكُلِّ شَيْءٍ عَلِيمٌ}
Narrated Abu Sa`id Al-Khudri:
The Prophet (ﷺ) said "The people will continue performing the Hajj and `Umra to the Ka`ba even after the appearance of Gog and Magog." Narrated Shu`ba extra: The Hour (Day of Judgment) will not be established till the Hajj (to the Ka`ba) is abandoned.
Reference: Sahih al-Bukhari 1593
In-book reference: Book 25, Hadith 79
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 26, Hadith 663