He (a) is reported to have said, "Just as a traveler picks gifts for his loved ones, Allah (swt) appoints hardships for His beloved servants; and just as physicians protect their patients, He (swt) shields them from worldly temptations." (Tuhaf al-Uqul H. 60)