In The Name of Allaah, The Most Merciful, The Bestower of Mercy.
Allaah tested Prophet Ayyoub [alayhis salaam – i.e. through severe illness and poverty] and Prophet Yaqoob [alayhis salaam] when he lost his two sons [i.e. Yusuf and Binyameen] as well as the effects of the severe grief in his heart. Allaah said:
[ وَتَوَلَّىٰ عَنۡہُمۡ وَقَالَ يَـٰٓأَسَفَىٰ عَلَىٰ يُوسُفَ وَٱبۡيَضَّتۡ عَيۡنَاهُ مِنَ ٱلۡحُزۡنِ فَهُوَ كَظِيمٌ۬ – And he turned away from them and said: “Alas, my grief for Yusuf (Joseph)!” And he lost his sight because of the sorrow that he was suppressing]. [Surah Yusuf. Aayah 84]
Allaah tested Muhammad [sallal laahu alayhi wasallam] during the early years of his (Prophethood) and obligated on him to call his people to abandon the Shirk and misguidance they were nurtured upon by their forefathers. He made that clear to them in private and public, night and day. He approached them in their hangouts, gatherings and towns, and carried on doing so for nearly 13 years whilst they inflicted severe harm on him, even though prior to this he lived for 40 years or more without being harmed. He was from a noble, honoured and respected tribe – a noble, honoured and respected household. He grew up with noble manners due to which he was honoured and respected by the people, but despite this he was very modest.
The one with these qualities received severe harm and faced extreme hardship. This harm intensified with mockery from such and such person, insult from such and such person- this one spat in his face and that one attempted to place his feet on his neck whilst he performed Sujood to his Lord. Another person placed the intestines of a camel on his back whilst he performed Sujood and such and such person grabbed the collar of his garment to strangle him etc His uncle followed him wherever he went and warned against him, saying, “He (i.e. Muhammad) is a liar”. “He is insane”.
These people incited the foolish against him and they pelted him with stones until blood flowed from his two feet and those people boycotted him and his close relatives for a long time in order that they die out of hunger. Other people tortured his followers with various types of torture- amongst them were those who were forced to lie down on the sand during the hottest time of the day and were denied water and one of them was burnt with fire until the only thing that extinguished the fire was the fat on his back. A woman amongst them was tortured, but when they realised that she will not renounce Islaam, they stabbed her in her private area and murdered her.
All this torture was not due to anything else other than the fact that the Messenger was calling them in order to remove them from the darkness of shirk and enter them into the light of Islaam- to remove them from corruption and enter them into upright conduct, distance them from the anger of Allaah and guide them to the means of attaining His pleasure, remove them from the path of eternal punishment and guide them towards the path of permanent bliss, but they did not pay attention to this despite the fact that its proofs were very clear; rather the only thing that concerned them was that he was calling them to other than what they desired.
Also, Allaah tested the Prophet [sallal laahu alayhi wasalam] through the death of his parents when he was very young, then the death of his grandfather, the death of his uncle who used to protect him and the death of his wife who used to console him. The calamities did not cease, even though he is the leader of the children of Aadam and the most beloved person to Allaah [The Mighty and Majestic].
Therefore, ponder on all of this in order to know based on true knowledge that the mutual rivalry – in which we engage and for which we greedily exert ourselves to acquire the enjoyment of the worldly life – is nothing compared to attaining Allaah’s Pleasure and eternal bliss in paradise. As for the misery and hardships of the worldly life which we flee from, they are nothing compared to Allaah’s displeasure, His anger and eternal punishment in the hell fire.
Anas Bin Maalik [radiyallaahu-anhu] reported that Allaah’s Messenger [sallal laahu alayhi wasallam] said, “A person amongst the inhabitants of Hell – who lived the most enjoyable life amongst the people of the world – would be dipped in fire only once on the Day of Resurrection and then it would be said to him, ‘O son of Adam! Did you find any comfort, did you happen to get any material blessing?’ He would say, ‘By Allah! No, my Lord’. Then a person amongst the people of the world be brought – who lived the most miserable life (in the world) – from amongst the inhabitants Paradise and he would be dipped once in Paradise, and it would be said to him, ‘O son of Adam! Did you face any hardship? Or had any distress fallen to your lot?’ He would say, ‘By Allah! No, o my Lord, never did I face any hardship or experience any distress’”. [ref 1]
An Excerpt from At-Tankeel. Vol 11. Pages 311-313. slightly paraphrased
Ref 1: Saheeh Muslim, Ana’s said: Saheeh Muslim 2807