Hazrat Shaikh Moulana Muhammad Zakariyya (rahmatullahi ‘alaih) writes:

This world is an abode of trials and tribulations. Therefore if any difficulty befalls us, before expressing ingratitude, we should reflect upon the fact that how indebted we all are to Allah Ta’ala for His boundless favours. Then we shall realize that instead of us complaining over the small difficulty, we should be expressing our gratitude to Allah Ta’ala for all His bounties. (Fazaail-e-Sadaqaat [urdu], Part 2 –pg. 410

Source: Ihyaauddeen.co.za