ALLAH Says: “Only those who are patient shall receive their reward in full, without reckoning.” (39:10)
Ibn al-Qayyim (d.750H) says: “And know that sabr (patient perseverance) is of three kinds: [i] sabr whilst (fulfilling) the orders of Allâh, [ii] sabr whilst (abandoning and keeping away) from the prohibitions of Allâh, and [iii] sabr with the Decree of Allâh with respect to afflictions and difficulties.”
Hardships and ease are a trial for us. Everything Allah chooses for you; from good or evil, is for your benefit. Whatever occurred to you could not have missed you and what missed you could never have reached you. Rewards are only for those who are patient with the Decree of Allah.
Panic and impatience cannot prevent Allah’s Decree. Shakwah (complaining) is contradictory to Sabr (patience). Allah alone can protect you from harm and ease your difficulties. Sabr is obligatory!
If the affliction results from acts of obedience to Allah, such as injury on the battlefield, losing money during Hijrah(migrating for the sake of Allah), losing a job because of accepting Islam or because one attempts to follow the Sunnah of Allah’s Messenger (PBUH) like growing the beard, wearing the lower garment above the ankles, etc, then the affliction is a trial. Whoever bears it with patience will be rewarded and whoever exhibits annoyance may invoke the wrath of Allah upon himself.
If the affliction befalls due to sinful actions, such as illnesses caused by smoking, drinking, or using drugs etc, then the affliction is a punishment from Allah. Hasten to avoid all sinful acts and turn towards Allah in repentance and ask his forgiveness. Otherwise, know that the punishments of the Hereafter are far more severe and unbearable.
If the affliction is neither connected to a good deed nor a sin, such as other kinds of disease and sickness, losing a child, or failing in business, then you should evaluate your actions. If you are involved in some kind of disobedience to Allah then the affliction is a punishment for you and a reminder to leave your evil deeds. Otherwise, Allah has caused this affliction to test your patience. The Messenger of Allah (PBUH) said: “One amongst the inhabitants of Hell, who had lived a life of ease and pleasure in the world, would be made to dip in the Hell Fire only once on the Day of Resurrection. Then he would be asked: ‘O son of Adam, Did you find any comfort. Did you get any blessing?’ He would say: ‘By Allah, no, my Lord!’ Then a person, from the inhabitants of Paradise, who had led the most miserable life (in the world), would be made to dip once in Paradise and it would be said to him: ‘O son of Adam, did you face any hardship or experience any distress?’ he would say: ‘By Allah! No never have I experienced any hardship or distress’.” (Saheeh Muslim, No. 6738)