Skip to content
Search blog
Search blog…
All posts

Articles

Ramadan and Illness: The Fiqh of the Fast You Cannot Keep and the Worship You Still Can

Illness does not cancel Ramadan's mercy — it activates a different part of it. What the Qur'an and two Ṣaḥīḥ al-Bukhārī narrations actually say about the fast you may be excused from, the reward that keeps recording itself anyway, and the prayer the Prophet himself made over the sick.

Author
The Quran Gallery team
Published
Reading time
8 min read

Ramadan arrives on the calendar whether your body is ready for it or not. For someone managing a chronic condition, recovering from surgery, or newly diagnosed with something that changes what their body can tolerate, the month can feel like it has landed at the worst possible time — a season built around fasting, standing through long night prayers, and extended recitation, arriving on a body that cannot do any of that the way it used to. That mismatch is real, and it is worth naming plainly before anything else: this is not a minor inconvenience to push through on willpower. It is a genuine test, and the sources treat it as one.

Start with what the Qur’ān itself says about fasting and illness:

أَيَّامًا مَّعْدُودَٰتٍ ۚ فَمَن كَانَ مِنكُم مَّرِيضًا أَوْ عَلَىٰ سَفَرٍ فَعِدَّةٌ مِّنْ أَيَّامٍ أُخَرَ ۚ وَعَلَى ٱلَّذِينَ يُطِيقُونَهُۥ فِدْيَةٌ طَعَامُ مِسْكِينٍ ۖ فَمَن تَطَوَّعَ خَيْرًا فَهُوَ خَيْرٌ لَّهُۥ ۚ وَأَن تَصُومُوا۟ خَيْرٌ لَّكُمْ ۖ إِن كُنتُمْ تَعْلَمُونَ

[Fasting is prescribed] for a fixed number of days. But whoever among you is ill or on a journey shall fast a similar number of other days. And upon those who can fast only with extreme difficulty is a compensation — feeding a needy person. Yet whoever volunteers more good, it is better for him. And that you fast is better for you, if only you knew.

Sūrat al-Baqarah, 2:184.

Illness sits in the same clause as travel, named as one of exactly two conditions the Qur’ān itself lists for not fasting. That is not a concession scholars had to argue into existence — it is in the verse, alongside the instruction to make up the missed days once you are able.

What the verse does not do is define “ill” for you. That is where jurists differ, and honestly so. Ḥanafī, Mālikī, Shāfiʿī and Ḥanbalī scholars all agree that an illness fasting would meaningfully worsen, or make dangerously harder to bear, qualifies for the dispensation. The disagreement is narrower than it sounds — over how certain that harm needs to be before you act on it, and over what to do when the illness will not pass, since the schools generally treat a permanent condition as calling for fidyah (feeding a needy person) rather than a fast to make up later, precisely because there will be no “later” to make it up in. This piece cannot resolve either question for your specific illness, and it should not try to. The two people qualified to do that are a scholar you trust, who can tell you which of these positions your case falls under, and your own doctor, who can tell you what your body can actually bear this year. That includes mental illness and medication routines, where a change in dosage carries its own risk — ask before assuming either that you must push through, or that you are automatically excused.

During the campaign to Tabūk, some of the Prophet’s companions could not make the journey — held back by illness, or by having no mount to ride. The Prophet (peace and blessings be upon him) told the men marching beside him what was happening, at that very moment, to the ones who had stayed behind:

إِنَّ أَقْوَامًا بِالْمَدِينَةِ خَلْفَنَا مَا سَلَكْنَا شِعْبًا وَلَا وَادِيًا إِلَّا وَهُمْ مَعَنَا فِيهِ حَبَسَهُمُ الْعُذْرُ

There are people back in Madinah who — every valley we cross, every path we travel — are with us in it. A legitimate excuse held them back.

— Ṣaḥīḥ al-Bukhārī, printed page 4/26 of , hadith 2839, narrated from Anas ibn Mālik, from the chapter on those a valid excuse held back from the campaign.

That is not sentiment layered on afterward — it is the same standard the Qur’ān states about the very people this hadith describes:

لَّيْسَ عَلَى ٱلضُّعَفَآءِ وَلَا عَلَى ٱلْمَرْضَىٰ وَلَا عَلَى ٱلَّذِينَ لَا يَجِدُونَ مَا يُنفِقُونَ حَرَجٌ إِذَا نَصَحُوا۟ لِلَّهِ وَرَسُولِهِۦ ۚ مَا عَلَى ٱلْمُحْسِنِينَ مِن سَبِيلٍ ۚ وَٱللَّهُ غَفُورٌ رَّحِيمٌ

There is no blame upon the weak, nor upon the sick, nor upon those who find nothing to spend, so long as they are sincere to Allah and His Messenger. There is no cause against those who do good — and Allah is Most Forgiving, Most Merciful.

Sūrat al-Tawbah, 9:91.

The verse right after it names an even more specific case: men who came to the Prophet unable to join the campaign because he had no mount to give them, and had to be turned away — in tears, ashamed at what they could not contribute, in Sūrat al-Tawbah 9:92. Grief at being unable to act is named there as a mark of sincerity, not a failing. It is worth sitting with that if illness has left you grieving what you cannot do this Ramadan rather than simply accepting an exemption.

Elsewhere the Prophet (peace be upon him) states this as a general rule, not one tied to a single campaign:

إِذَا مَرِضَ الْعَبْدُ أَوْ سَافَرَ كُتِبَ لَهُ مِثْلُ مَا كَانَ يَعْمَلُ مُقِيمًا صَحِيحًا

When a servant falls ill or travels, what is recorded for him is the same as what he used to do when he was well and at home.

— Ṣaḥīḥ al-Bukhārī, printed page 4/57 of , hadith 2996, narrated from Abū Mūsā al-Ashʿarī, from the chapter on the traveller being recorded the reward of the resident.

The hadith was said, in its original setting, about a companion who kept fasting while travelling — but the principle it states covers illness in the same breath, and it answers the exact fear that often follows an exemption: that months, or years, of consistent worship somehow stop counting the day illness interrupts them. On the wording of this hadith, they do not. The ledger keeps recording the pattern you built before illness, on the condition that the interruption is genuine and your intention has not changed — a strong claim, and one that belongs to the hadith itself, not to us. Read it as exactly what it says, not as license to stop trying at anything you still can do.

Fasting is one act of worship among many, and it is the one illness most directly interferes with. It is not the only one open to you this Ramadan.

If standing through tarawih is out of reach, dhikr is not — it asks nothing of the legs, and can be said lying down, between doses of medication, in a hospital bed at three in the morning. If the daily recitation you used to keep is now too much to sustain, listening to the Qur’ān being recited is still available, and carries its own reward. Quran Gallery’s adhkar collection exists for exactly this kind of day: short, sourced remembrances organised so you can reach for the right one without having to compose anything yourself when composing anything at all feels like too much.

Allah (subḥānahū wa taʿālā) describes a reward that patience specifically carries, distinct from the reward attached to any single deed:

قُلْ يَـٰعِبَادِ ٱلَّذِينَ ءَامَنُوا۟ ٱتَّقُوا۟ رَبَّكُمْ ۚ لِلَّذِينَ أَحْسَنُوا۟ فِى هَـٰذِهِ ٱلدُّنْيَا حَسَنَةٌ ۗ وَأَرْضُ ٱللَّهِ وَٰسِعَةٌ ۗ إِنَّمَا يُوَفَّى ٱلصَّـٰبِرُونَ أَجْرَهُم بِغَيْرِ حِسَابٍ

Say, “O My servants who have believed, be mindful of your Lord. For those who do good in this world is good, and the earth of Allah is spacious. Truly the patient will be given their reward in full, without account.”

Sūrat al-Zumar, 39:10.

“Without account” is not a throwaway phrase. Nearly every other reward named in the Qur’ān is scaled to the deed that earned it; this one is described as unscaled. If there is a single verse worth holding onto on a day when pain has taken most of what you would normally offer, this is a reasonable one to reach for.

There is also a specific prayer — not an improvised one — that the Prophet (peace be upon him) used to say over anyone who was unwell, reported by his wife ʿĀ’ishah, who watched him say it:

أَذْهِبِ الْبَاسَ رَبَّ النَّاسِ، اشْفِ وَأَنْتَ الشَّافِي، لَا شِفَاءَ إِلَّا شِفَاؤُكَ، شِفَاءً لَا يُغَادِرُ سَقَمًا

Remove the affliction, Lord of mankind. Heal — You are the Healer. There is no healing except Your healing, a healing that leaves no illness behind.

— Ṣaḥīḥ al-Bukhārī, printed page 7/121 of , hadith 5675, narrated from ʿĀ’ishah, from the chapter on the prayer of one who visits the sick.

That is the prayer to make for yourself, or to ask someone to make over you, rather than reaching for wording you are not sure of. It names Allah by the description this whole piece has been building toward: the One who removes affliction, and the only one whose healing genuinely leaves nothing behind.

The sources ask something specific of you too. Treat the person beside you who is eating in front of you, or sitting through tarāwīḥ rather than standing, as someone the Qur’ān has already excused — not as someone who owes you an explanation. On the evidence above, their reward is not smaller for the accommodation; it may be recorded exactly as it always was.

None of this replaces an actual conversation with your own doctor about what your body can safely do this year, or with a scholar you trust about which category your illness falls under. If either conversation leads you to break your fast this Ramadan, that is not a lesser Ramadan — it is the Ramadan these texts describe. May Allah, who names Himself the Healer in His own Prophet’s words, make this illness — whoever is carrying one while reading this — a means of drawing nearer to Him rather than further away.

If anything above reads as a claim we have not earned, or a narration that deserves closer scrutiny, tell us. Every citation in this piece points to a printed page in the library we resolved it against, not a paraphrase asking you to take our word for it.