First of all, it should be clear that the Prophet, peace and blessing be upon him, instructed us: “Seek medical treatment, for Allah has provided a cure for every illness.” This Hadith should be taken as encouragement to seek medical treatment along with making Du`a’, imploring Allah to cure one’s illness. Moreover, when the Prophet was ill, he sought medical treatment. This shows that trying to overcome illness by an effective medicine or herb is necessary to preserve the body against the attack of germs and viruses.
Focusing more on making du`aa’ for healing sickness, Sheikh Ahmad Kutty, a senior lecturer and an Islamic scholar at the Islamic Institute of Toronto, Ontario, Canada, states:
“Here are few of the supplications you can use for purpose of healing as mentioned in the Sunnah:
1) Allahumma rabba al-nnas adhhibi al-ba’sa ishfi anta al-sshafi la shifa’a illa shifa’ula shifa’an la yughadiru saqaman (O Allah, O Lord of Mankind, remove the affliction and send down cure and healing, for no one can cure but You; so cure in such a way that no trace of illness is left).
2) As’alu Allaha al-azem rabba al-‘arshi al-azem an yashfiyane (I beseech Allah, the Great, Lord of the Mighty Throne, to heal me).
3) A’udhu bi izzati Allahi wa qudratihi mimma ajidu wa uhadhiru (I seek refuge and protection in the august might and power of Allah from the pain and illness I am suffering from and I’m afraid of).
Furthermore, you may also repeat and meditate on some of the beautiful Names of Allah: i.e., ya rahamanu ya rahem; ya shafi, (O the most Merciful one, O the Healer and curer).”

After making du`aa’ and seeking medication, one should be content with Allah’s destiny and not to despair of any affliction Almighty Allah may destine for him. He should keep patience asking Allah to reward him for this affliction and to relieve him of all evils. Allah puts people through tribulations in order to remove their sins and bad deeds. As reported in Al-Bukhari, Abu Hurairah narrated that Prophet Muhammad (peace and blessings be upon him) said, “No fatigue, nor disease, nor sorrow, nor sadness, nor hurt, nor distress befalls a Muslim, even if it were the prick he receives from a thorn, but that Allah expiates some of his sins for that.” It may also be a test for their patience and steadfastness.

So, it should be noted that there is a wisdom behind Allah’s destiny for you and a Muslim is required to keep patience asking Allah for the reward and to seek His refuge against sickness and all evils. While doing so, he must be content with Allah’s will and destiny for him.