Epidemics in Islam are addressed with remarkable wisdom in the Quran and Sunnah.
Fourteen centuries ago, the Prophet Muhammad ﷺ gave guidance on quarantine, hygiene, patience and trust in Allah that remains relevant whenever disease spreads.
Islam teaches believers to take practical precautions, seek treatment, care for the sick and respond to trials with faith rather than panic.
This article explores the Islamic perspective on epidemics: the prophetic teaching on plague and quarantine, the historic plague of Amwas, the balance between tawakkul and precaution, the reward for those who die or suffer, the rules of worship during outbreaks and practical spiritual guidance for difficult times.
Disease as Part of Allah’s Decree
Muslims believe that everything happens by the will and knowledge of Allah.
“No disaster strikes upon the earth or among yourselves except that it is in a register before We bring it into being” (Al-Hadid 57:22).
At the same time, Allah created causes and effects.
Disease spreads through means Allah has placed in the world, and believers are commanded to use permissible means to protect themselves. Belief in qadar does not mean passivity.
The Prophetic Teaching on Quarantine
The clearest guidance comes from the hadith: “If you hear of a plague in a land, do not enter it; and if it breaks out in a land while you are in it, do not leave it.”
This simple instruction contains the core principles of modern quarantine:
- Do not enter an affected area, limiting exposure.
- Do not leave an affected area, preventing spread to new places.
It was given at a time when the causes of contagion were not understood scientifically, yet it matches public health practice today.
Separating the sick from the healthy
The Prophet ﷺ said: “Do not bring a sick (animal) to a healthy one.” He also said: “Flee from the leper as you would flee from a lion.”
When a man with leprosy came to pledge allegiance among a delegation, the Prophet ﷺ sent word: “We have accepted your pledge, so return,” without requiring him to come in person.
“There is no contagion” explained
Another hadith says: “There is no contagion (‘adwa).” Scholars explain that this negates the pre-Islamic belief that disease spreads by its own power independent of Allah.
It does not deny that Allah causes disease to transmit through means. Both hadiths are combined: disease spreads only by Allah’s will, and avoiding exposure is a legitimate means.
The Plague of Amwas
In 18 AH (around 639 CE), during the caliphate of Umar ibn al-Khattab (RA), a severe plague struck the region of Sham at Amwas.
Umar was travelling to Sham when he learned of the plague at Sargh. He consulted the Muhajirun, the Ansar and the elders of Quraysh.
Opinions differed, and he decided to turn back. Abu Ubaydah ibn al-Jarrah (RA) asked: “Are you fleeing from the decree of Allah?”
Umar replied: “Yes, we flee from the decree of Allah to the decree of Allah.”
He gave an example: if you had camels and came to a valley with one fertile side and one barren side, whichever you grazed them on, it would be by Allah’s decree.
Then Abdur-Rahman ibn Awf (RA) arrived and reported the hadith about not entering a plague-stricken land, confirming Umar’s decision.
The plague took many great Companions, including Abu Ubaydah himself and Mu’adh ibn Jabal (RA).
Amr ibn al-As (RA), upon becoming governor, instructed people to disperse into the mountains, and the plague subsided.
Lessons from Amwas
- Consultation (shura) in public crises.
- Following evidence from the Sunnah.
- Precaution is part of qadar, not opposed to it.
- Leaders must protect the lives of the people.
- Practical measures such as dispersal can reduce spread.
Tawakkul and Taking Precautions
A Bedouin asked the Prophet ﷺ: “Should I tie my camel and trust in Allah, or leave it untied and trust in Allah?” He replied: “Tie it and trust in Allah.”
Tawakkul means relying on Allah in the heart while taking appropriate action with the limbs. During epidemics, this means:
- Following medical advice.
- Maintaining hygiene.
- Avoiding unnecessary exposure.
- Accepting vaccination and treatment where scholars and doctors advise.
- Then trusting the outcome to Allah.
Seeking Medical Treatment
“O servants of Allah, seek treatment, for Allah has not created a disease except that He has also created its cure, except one: old age.” Islam encourages medicine and research.
Muslim civilisation produced great physicians such as Ibn Sina and Al-Razi, who wrote on infectious disease.
Hygiene as Protection
Islamic hygiene practices play a protective role:
| Practice | Protective effect |
|---|---|
| Wudu five times a day | Regular washing of hands, face, mouth and nose |
| Washing hands before and after eating | Reduces ingestion of germs |
| Covering mouth when yawning or sneezing | The Prophet ﷺ covered his face when sneezing |
| Covering vessels at night | “Cover your vessels… for there is a night in the year when a plague descends” |
| Not breathing into vessels | Prevents contamination |
| Cleanliness of homes and streets | Reduces disease vectors |
The Reward of the Patient Believer
Islam offers immense comfort to those affected:
- Martyrdom: “The plague is martyrdom for every Muslim.” Those who die of plague are counted among the martyrs.
- A mercy for believers: Aisha (RA) asked about plague and the Prophet ﷺ said: “It was a punishment Allah sent upon whom He willed, but He has made it a mercy for the believers. Any servant who stays in his land during a plague, patient and seeking reward, knowing that nothing will befall him except what Allah has written, will have the reward of a martyr.”
- Expiation of sins: “No fatigue, illness, worry, grief, harm or distress befalls a Muslim, even the prick of a thorn, except that Allah expiates some of his sins by it.”
- Continued reward: “When a servant falls ill or travels, the same reward is written for him as what he used to do while healthy and resident.”
Worship During Epidemics
Islamic law is built on preventing harm and preserving life. Scholars have given guidance such as:
- Congregational prayers may be suspended or modified when gathering poses serious harm. During heavy rain, the Prophet ﷺ had the call to prayer include “Pray in your homes.”
- The sick and those at risk may pray at home.
- Fasting is excused for the sick: “Whoever among you is ill or on a journey, then an equal number of other days” (Al-Baqarah 2:184).
- Tayammum may replace wudu if water would harm.
- Funeral rites may be adapted for safety, following scholarly guidance.
The principle “Harm must be removed” and “Necessity makes prohibited things permissible” guide these rulings.
Caring for the Sick
Visiting and caring for the sick is a great deed. “Whoever visits a sick person is in the harvest of Paradise until he returns.”
During contagious outbreaks, care should be given safely: calls, messages, delivering food and medicine, and supporting families.
Healthcare workers who serve during epidemics earn immense reward. “Whoever saves one life, it is as if he has saved all of mankind” (Al-Ma’idah 5:32).
Spiritual Responses to Epidemics
Repentance and du’a
Hardships remind us to return to Allah.
“And We will surely test you with something of fear and hunger and loss of wealth and lives and fruits, but give good tidings to the patient” (Al-Baqarah 2:155).
Prophetic supplications for protection
- “Allahumma inni a’udhu bika minal-barasi wal-jununi wal-judhami wa min sayyi’il-asqam” (O Allah, I seek refuge in You from leprosy, madness, leprosy-like disease and all evil illnesses).
- “Bismillahil-ladhi la yadurru ma’asmihi shay’un fil-ardi wa la fis-sama’i wa huwas-sami’ul-‘alim” three times morning and evening.
- The three Quls morning and evening.
Patience and good opinion of Allah
Panic and despair are not the way of the believer.
“How wonderful is the affair of the believer: if good befalls him, he is grateful, and that is good for him; if harm befalls him, he is patient, and that is good for him.”
Generosity
Epidemics often bring economic hardship. Supporting those who lose income, the elderly and the isolated is a vital form of worship.
Avoiding Misinformation
“O you who have believed, if there comes to you a disobedient one with information, investigate” (Al-Hujurat 49:6).
Spreading unverified rumours about cures or dangers can harm people. Muslims should rely on qualified doctors and scholars.
Lessons From Islamic History
Epidemics recurred many times in Muslim history, and scholars wrote dedicated treatises about them.
During the Black Death in the fourteenth century, physicians in Muslim Andalusia such as Ibn al-Khatib and Ibn Khatimah wrote about how the disease spread through contact, clothing and contaminated items, and advised isolation of the sick.
The scholar Ibn Hajar al-Asqalani, who lost several of his daughters to plague, wrote a book gathering the hadiths and rulings on plague to comfort and guide believers.
These works show a consistent pattern: Muslims combined careful observation, medical practice and deep faith.
They did not see science and religion as opposed; they saw both as means given by Allah.
Supporting Mental Health During Outbreaks
Long periods of illness, isolation and uncertainty can weigh heavily on the mind. Islam offers several sources of strength:
- Routine of prayer: the five prayers give structure to days that can otherwise feel shapeless.
- Quran recitation: “And We send down of the Quran that which is healing and mercy for the believers” (Al-Isra 17:82).
- Connection: staying in touch with family and friends by phone or message fulfils the rights of kinship even when visits are not possible.
- Speaking openly: sharing worries with trusted people and seeking professional help when needed is not a sign of weak faith.
- Remembering the reward: every hardship borne with patience is written for the believer.
Duties of the Community
When an outbreak occurs, the community as a whole carries responsibility.
Mosques can organise help for those in isolation, volunteers can deliver food and medicine to the elderly, and the wealthy can support families who lose income.
The Prophet ﷺ said: “The believers are like one body.” In difficult times, this body must work together so that no one is left alone.
A Four-Week Plan to Apply What You Learned About epidemics in islam
Knowledge sticks when it is turned into a routine. Here is a simple four-week plan to build on this guide.
- Week one: Re-read this article slowly and write down the three points that were newest to you. Share one of them with a family member, because explaining an idea is one of the best ways to understand it.
- Week two: Connect the topic to your daily Quran reading. Each day, look for one verse or phrase in your portion that relates to epidemics in islam, and note it in a small notebook.
- Week three: Ask questions. Bring anything that is still unclear to a qualified teacher, and correct any misunderstanding before it becomes a habit.
- Week four: Review your notebook, choose one practical change and commit to it for the next month. Small, consistent actions are more beloved to Allah than large efforts that do not last.
The Prophet ﷺ said: “The most beloved of deeds to Allah are those that are most consistent, even if they are small.”
Apply that principle here, and this topic will become part of your life rather than something you read once and forgot.
Frequently Asked Questions
What does Islam say about epidemics?
Islam teaches quarantine, hygiene, medical treatment, patience and trust in Allah during epidemics.
Did the Prophet ﷺ teach quarantine?
Yes: “If you hear of a plague in a land, do not enter it; and if it breaks out where you are, do not leave it.”
Is avoiding contagion against trust in Allah?
No. Umar (RA) said: “We flee from the decree of Allah to the decree of Allah.” Precaution is part of tawakkul.
Is a person who dies in a plague a martyr?
Yes, the Prophet ﷺ said the plague is martyrdom for every Muslim.
Can mosques close during an epidemic?
Scholars have permitted suspending congregations when gathering causes serious harm, based on the principle of preserving life.
Final Thoughts
Epidemics in Islam are met with a balanced response: practical precautions guided by the Sunnah, medical treatment, compassion for the sick and deep reliance on Allah.
The example of Umar at Sargh and the hadith of quarantine show that Islam values both faith and reason.
In times of illness, hold firmly to prayer, du’a and patience, protect others, and trust that Allah’s decree carries wisdom and mercy for the believer.
Memorise the daily duas of protection.
