Sunan Ibn Majah, Volume 5, Book 36, Hadith 4064 (DarusSalam)

It was narrated from Safiyyah that the Messenger of Allah said: “People will not stop attacking this House until an army attacks, until when they are in Baida’, the first and the last of them will be swallowed by the earth, and the middle of them will not be saved.’” I said: “What if there are those among them who were forced (to join the army)?” He said: “Allah will resurrect them according to what is in the hearts.”

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا الْفَضْلُ بْنُ دُكَيْنٍ، حَدَّثَنَا سُفْيَانُ، عَنْ سَلَمَةَ بْنِ كُهَيْلٍ، عَنْ أَبِي إِدْرِيسَ الْمُرْهِبِيِّ، عَنْ مُسْلِمِ بْنِ صَفْوَانَ، عَنْ صَفِيَّةَ، قَالَتْ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏"‏ لاَ يَنْتَهِي النَّاسُ عَنْ غَزْوِ هَذَا الْبَيْتِ حَتَّى يَغْزُوَ جَيْشٌ حَتَّى إِذَا كَانُوا بِالْبَيْدَاءِ - أَوْ بَيْدَاءَ مِنَ الأَرْضِ - خُسِفَ بِأَوَّلِهِمْ وَآخِرِهِمْ وَلَمْ يَنْجُ أَوْسَطُهُمْ ‏"‏ ‏.‏ قُلْتُ فَإِنْ كَانَ فِيهِمْ مَنْ يُكْرَهُ قَالَ ‏"‏ يَبْعَثُهُمُ اللَّهُ عَلَى مَا فِي أَنْفُسِهِمْ ‏"‏ ‏.‏

sunnah.com