عن عائشة رضي الله عنها قالت: قال رسول الله صلى الله عليه وسلم : «يَغزُو جَيْشٌ الكَعْبَةَ فإذا كانوا بِبَيْدَاءَ من الأرضِ يُخْسَفُ بأَوَّلِهِم وَآخِرِهِم قالت: قلتُ: يا رسول الله، كيف يخسف بأولهم وآخرهم وفيهم أَسْوَاقُهُم وَمَنْ ليس منهم؟! قال: «يخسف بأولهم وآخرهم ثم يُبْعَثُونَ على نِيَّاتِهِم».
[صحيح] - [متفق عليه وهذا لفظ البخاري]
‘Ā'ishah (may Allah be pleased with her) reported the Prophet (may Allah's peace and blessings be upon him) said: "An army will invade the Ka‘bah and when it reaches a desert, all of them will be swallowed up by the earth." She asked: "O Messenger of Allah, how will they be swallowed up by the earth while amongst them will be their marketeers and people not belonging to them?" He replied: "All of them will be swallowed up by the earth, then they will be resurrected for judgment according to their intentions."
Sahih/Authentic. - [Al-Bukhari and Muslim]
The Prophet (may Allah's peace and blessings be upon him) informs us that a huge army will invade the Sacred House of Allah. When they reach an open desert area, Allah will make the earth swallow them up. The Mother of the Believers ‘Ā'ishah (may Allah be pleased with her) asked him about the ones who came for buying and selling, without any evil intention to invade the Ka‘bah, and the people who followed them, but did not belong to them or know their evil plan. The Prophet (may Allah's peace and blessings be upon him) informed her that the earth would swallow them up because they were in their company. Later, they will be resurrected and judged according to their intentions, and everyone will be dealt with according to one's good or evil intentions.