Even sickness for a Muslim is a blessing of Allaah [Ta’aalaa]. The reason for this is that if a pious person falls ill, then his status is elevated and if a sinner falls ill then his sins are forgiven.
To visit a sick person is known as “Ieeyaadat.” This is to show human kindness and it is a means of earning Sawaab. Most of all it is the Sunnah of the Prophet [Sallal Laahu Alaieh Wa Sallam]
When a person visits a fellow Muslim who is ill, then he gains the Mercy of Almighty Allaah and the gift of Jannat.
The Prophet [Sallal Laahu Alaieh Wa Sallam] has stated:
“If a Muslim visits his fellow Muslim brother who is ill in the morning, then 70 000 Angels pray for that person until the night and if he visits at night then they pray for him till the morning, and due to his Ieeyaadat, he gains a garden in Paradise.”