Maliks Muwatta Book 16, Hadith Number 41.

Section : Contentment in the Face of Misfortune Generally.

Yahya related to me from Malik from Abd ar-Rahman ibn al-Qasim ibn Muhammad ibn Abi Bakr that the Messenger of Allah, may Allah bless him and grant him peace, said, “Let the misfortune that befalls me be a comfort to the muslims in their misfortunes.”