Calamities and disasters are a test for a person, and this is a sign that Allaah loves him, because this is like medicine: even though it is bitter, but still you offer the medicine, despite its bitterness, to the one whom you love; and Allaah’s is the highest description. According to a saheeh hadeeth: “The greatest reward comes from the greatest trial. When Allaah loves people, He tests them, and whoever accepts it gains the pleasure of Allaah and whoever complains earns His wrath.
Narrated by al-Tirmidhi, 2396; Ibn Maajah, 4031; classed as saheeh by Shaykh al-Albaani.