Jami` at-Tirmidhi, Book 10, Hadith 23 (Tirmidhi 989)

Anas narrated that:

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