Jami` at-Tirmidhi, Book 10, Hadith 24 (Tirmidhi 990)

Anas bin Malik narrated that:

The Messenger of Alllah said: "(Real) Patience is at the first stroke of the calamity."