Ubaydullah bin Qibtiya reported,

Harith bin Abu Rabia and Abdullah bin Safwan entered, and I was with them, upon Umm Salama, Umm Muiminin. They asked her about the army that would be swallowed up by the earth, and that was during the days of Ibn Zubayr.She said, the Messenger of Allah ﷺ said, "A man will seek refuge at the House, and an army will be sent against him. When they reach an open desert land, they will be swallowed up by the earth."I asked, "Messenger of Allah, what about the one among them who is unwilling?"He replied, "He will be swallowed up along with them, but he will be raised on the Day of Resurrection according to his intention."Abu Jafar said, "It is the open desert of Madinah."

Azami 15995

Sahih

عن عبيد الله بن القبطية قال

دخل الحارث بن أبي ربيعة وعبد الله بن صفوان، وأنا معهما على أم سلمة أم المؤمنين، فسألاها عن الجيش الذي يخسف به، وكان ذلك في أيام ابن الزبير، فقالت: قال رسول الله ﷺ: يعوذ عائذ بالبيت فيبعث إليه بعث، فإذا كانوا ببيداء من الأرض خسف بهم فقلت: يا رسول الله فكيف بمن كان كارها؟ قال: يخسف به معهم، ولكنه يبعث يوم القيامة على نيته. وقال أبو جعفر: هي بيداء المدينة.

الأعظمي 15995صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tribulations and signs of the Hour
Chapter
Minor signs of the Hour
Section
Army that marches toward the Kaaba being swallowed by the earth
Numbering
Jami al-Kamil 15995 (2nd edition)
Azami 15995