Jami` at-Tirmidhi, Book 33, Hadith 45 (Tirmidhi 2270)

Thawban narrated that the Messenger of Allah(s.a.w) said:

"When the sword is imposed on my Ummah, it shall not be removed from it until the Day of Resurrection."