When Hajj will be Abandoned.. (Hadith No. 1363)
Narrated Abu Said Al-Khudri (radiallaahu `anhu): The Prophet (sallallaahu `alayhi wasallam) 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.
Yes, there will come a time when no righteous people will remain on Earth (they’ll die due tot he wind that Allah will send after Gog and Magog’s wipe-out). Therefore no Hajj, and Qiyamah will be brought upon the evil ones. May Allah save us from seeing that time!