Jami` at-Tirmidhi, Book 33, Hadith 14 (Tirmidhi 2239)

Umm Salamah narrated that the Prophet (s.a.w) mentioned the army that the earth would swallow, so Umm Salamah said:

'Perhaps there are those among them who are averse to it." He said: "They will be resurrected on their intentions."