It was narrated that Umm Salamah said:“The Prophet (ﷺ) mentioned the army that would be swallowed up by the earth, and Umm Salamah said: ‘O Messenger of Allah, perhaps there will be some among them who were forced (to join them)?’ He said: ‘They will be resurrected according to their intentions.’”
Hadith No. 4065
Sunan Ibn Majah
Gradings:
Al-Albani:
Sahih
Muhammad Fouad Abd al-Baqi:
Sahih
Zubair Ali Zai:
Sahih