Ibn Mas`ud (May Allah be pleased with him) reported: I visited the Prophet (PBUH) when he was suffering fever. I said, "You seem to be suffering greatly, O Messenger of Allah.'' The Prophet (PBUH) replied, "Yes, I suffer as much as two persons.'' I said, "Is that because you have a double reward?'' He replied that that was so and then said, "No Muslim is afflicted by a harm, be it the pricking of a thorn or something more (painful than that), but Allah thereby causes his sins to fall away just as a tree sheds its leaves".
[Al-Bukhari and Muslim].
Commentary: Prophets have to face more than ordinary troubles and for that reason their reward to bear them is also increased. Thus, the excess of hardships and grief is a sign of perfect Faith and not a sign of Allah's displeasure.
Abu Hurairah (May Allah be pleased with him) reported that: The Messenger of Allah (PBUH) said: "He whom Allah intends good, He makes him to suffer from some affliction".
[Al-Bukhari].
Commentary: Troubles of this world like grief, calamity, disease, poverty, loss of life and property, etc., have a benign aspect for a Muslim in the sense that on account of them he turns towards Allah and begs mercy and compassion from Him because of which his sins are forgiven. Thus, in these troubles there is a blessing for him in the Hereafter.