Safiya bint Huyay reported,

The Messenger of Allah ﷺ said, "People will not cease attacking this House until an army marches against it. When they reach a desert plain, the earth will swallow them up from first to last, and not even those in the middle will escape."I asked, "What about those among them who were unwilling?"He replied, "Allah will resurrect them according to their intentions."

Ibn Majah 4064

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا الفضل بن دكين حدثنا سفيان عن سلمة بن كهيل عن أبي إدريس المرهبي عن مسلم بن صفوان

عن صفية قالت

قال رسول الله ﷺ لا ينتهي الناس عن غزو هذا البيت حتى يغزو جيش حتى إذا كانوا بالبيداء أو بيداء من الأرض خسف بأولهم وآخرهم ولم ينج أوسطهم قلت فإن كان فيهم من يكره قال يبعثهم الله على ما في أنفسهم

ابن ماجه 4064صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Tribulations
Chapter
Army of Bayda
Numbering
Darussalam 4064
Ibn Majah 4064