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, the first of them to the last, and not even those in the middle will escape."I asked, "Messenger of Allah, what about those among them who were forced to join unwillingly?"He replied, "Allah will resurrect them according to their intentions."

Tirmidhi 2184

Sahih

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

عن صفية قالت

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

الترمذي 2184صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tribulations
Chapter
Swallowing by the earth
Numbering
Darussalam 2184
Tirmidhi 2184