Fiqh of Fasting: Rules of Ramadan, Nullifiers and Exceptions
In Brief
This article explains the rules of Ramadan fasting according to the four Islamic schools (Hanafi, Maliki, Shafi'i, Hanbali). You will learn what nullifies the fast and what is permissible, as well as exceptions for travelers, the sick, pregnant women, and the elderly.
We explain the differences between Fidya and Kaffara and how to apply them in real life. We also discuss modern situations (medications, injections, makeup, air travel) and show you how the four schools view these matters.
Whether you are new to fasting or have been fasting for a long time, this guide will allow you to fast with peace of mind by understanding why each rule exists. Important books are suggested to you in each section.
The fiqh of fasting (فقه الصيام) is one of the most important sciences for every Muslim who wants to observe Ramadan properly. Many people fast because their family does, without understanding the precise rules that have existed for a very long time.
But if you know the true rules of fasting (الصيام, siyam), the importance of intention (النية, niyyah) and special cases, you can fast consciously and it is more beautiful spiritually.
This guide shows the foundations of the fiqh of fasting according to the four Islamic schools (madhabs), shows you what nullifies fasting and what is permissible, and gives you ways to decide for complex cases: travel, illness, pregnancy, and breastfeeding.
You will also learn the difference between fidya (giving food), kaffara (an expiation) and simple makeup of missed days. To learn more, check out our complete Ramadan guide, which gives you the best books in French to properly understand this sacred month.
Also check out our Encyclopedia of fiqh for daily life to fully understand Islamic law.

What is the importance of intention (Niyyah) in the validity of fasting?
Intention is very important for fasting to be valid. Fasting without intention is like a house without foundations. The hadith of the Prophet reported by Al-Bukhari and Muslim clearly states:
« The deeds are judged only by the intentions, and each person will have only what they intended. »
Reported by Al-Bukhari and Muslim, from Umar ibn al-Khattab
When and how to form the intention
The intention must be formed before dawn (fajr, الفجر). But it is not something to be said aloud: it is a decision of the heart, a sincere willingness to fast for Allah.
According to Imam ash-Shâfi'î, the intention must be formed the night before the day you fast, before sunset.
In practice, when you wake up to eat before dawn (suhoor), eating while knowing that you will fast is already an intention. You do not need to speak; an intention of the heart is enough.
Many ask: « If I sleep without thinking that I will fast, can I declare my intention in the morning? » The answer depends on the school of jurisprudence you follow.
What are the differences between the schools of jurisprudence regarding niyyah?
The four schools agree that intention is obligatory, but they disagree on when you must form it:
- Hanafites: You can form your intention at any time before noon of the same day.
- Malikites: You must form your intention the night before, before the sun rises.
- Shafiites: You must form your intention before dawn, the night you will fast.
- Hanbalis: You must form your intention before dawn of the day you fast.
To be sure of doing it correctly, it is better to form your intention in the evening when you go to bed or in the morning when you wake up, before the sun rises.
This way you follow the positions of the different schools and you are sure that your intention is well established.
What exactly invalidates the fast and how are the nullifiers categorized?
The muftirât (nullifiers, مفطرات) are the actions or substances that invalidate the fast, obliging the fasting person to make up this day later. Clarity on what nullifies and what does not nullify the fast is crucial, because many Muslims live in uncertainty or follow erroneous popular beliefs.
What are the nullifiers recognized by consensus among the legal schools?
The four legal schools unanimously agree on the following nullifiers:
INVALIDATES THE FAST
- Intentional eating: Any food or drink, regardless of quantity (a grain, a sip, etc.), invalidates the fast.
- Intentional drinking: Includes water, juices, any beverages.
- Marital relations during the day: This is a grave sin that requires a kaffara (expiation): freeing a slave, fasting two consecutive months, or feeding 60 poor people.
- Voluntary emission of semen: Through masturbation or other voluntary act.
- Voluntary vomiting: One who vomits involuntarily does not need to make up this day, but one who forces themselves to vomit invalidates their fast.
- Menstruation and postpartum bleeding: Any menstrual or postpartum bleeding, even a few drops at the end of the day, invalidates the fast.
What acts are debated among the different legal schools?
Some acts are subject to different interpretations according to the schools:
DISPUTED CASES
Injections and infusions
Current consensus: Intramuscular or intravenous injections (except nutritive ones) do not invalidate the fast. They are not food.
To avoid as a precaution: Nutritive (alimentary) injections.
Inhalers and medications
Majority position: Asthma inhalers do not invalidate the fast.
To avoid: Powder inhalers that leave visible residue in the mouth.
Nasal and ear drops
Dominant position: If they do not go down the back of the throat, they do not invalidate the fast.
Precautionary principle: Use after iftar if possible.
Intestinal suppositories (excretory canal)
Maliki position: Considers that absorption through the rectum invalidates the fast.
Other schools: Do not consider it invalidating.
Summary table: What invalidates vs What does not invalidate
| What INVALIDATES the fast | What DOES NOT INVALIDATE the fast |
|---|---|
| Eating (even 1 grain) | Swallowing saliva |
| Drinking (even 1 sip) | Rinsing the mouth |
| Marital relations | Kissing one's spouse (without fear of losing control) |
| Masturbation (voluntary emission) | Involuntary emission (nocturnal dreams) |
| Voluntary vomiting | Involuntary vomiting |
| Menstruation | Isolated spotting (istihadah) |
| Intestinal suppositories (for Malikis) | Non-nutritive intramuscular injections |
| Smoke inhaled voluntarily | Asthma inhalers |
| Brushing teeth | |
| Blood draw (donation) |
How to navigate fasting when sick, traveling, pregnant or breastfeeding?
Allah, in His infinite wisdom, has provided exemptions for those who cannot fast. The Quran clearly states: "Whoever is sick or traveling must fast an equal number of days later." (Surah Al-Baqarah, 2:185).
These exemptions are not optional favors, but divine permissions that respect the limits of the human body.
What are the conditions for the traveler's exemption?
Can a traveler abandon fasting? Yes, according to consensus, but under certain conditions:
- Minimum distance: Usually set at approximately 80 km (a day's journey in ancient times). Schools differ: Hanafites say 48 miles, others 81 km.
- Intention to travel: You must have left your city or permanent place of residence.
- Lack of residence: The traveler must not reside in the city where they are traveling (generally less than 4 days according to Hanafites).
- Non-confinement to bed: The traveler must be able to move; a bedridden man is not considered a traveler.
If these conditions are met, the traveler may stop fasting and make up the days later. However, fasting while traveling is praised if one has the strength. Imam Muslim reports that the Prophet said:
"There is no piety in the one who does not fast during Ramadan"... but he also accepted that some do not fast while traveling.
How to decide whether to fast in case of illness, pregnancy or breastfeeding?
If you are sick:
- → Does fasting affect your recovery? YES → You can stop and make up later.
- → Does fasting not affect your health? → RECOMMENDED: Fast.
- → Chronic/incurable illness? → Fidya required (feed a poor person for each day missed).
If you are pregnant or breastfeeding:
- → Do you fear for your health or that of your child/fetus? YES → You can stop fasting.
- → Does fasting hinder milk production? → Cessation authorized, makeup required.
- → Risk of miscarriage or fetal death? → Permitted and recommended not to fast.
- → You and baby are well? → Fasting is preferable, but you have the choice.
After childbirth:
- → Lochia present? → Do not fast (postpartum menstruation invalidates the fast).
- → Lochia ceased? → Resume fasting from the next day.
How to distinguish between fidya, kaffara and makeup fasting to correct your shortcomings?
One of the most common confusions among Muslims concerns three concepts: fidya, kaffara and makeup fasting. Each responds to a specific situation and carries distinct obligations. Understanding this trichotomy is essential to correct your religious practices.
For more details, consult our complete guide on Zakat al-Fitr, Fidya and Kaffara.
Comparative table of the three concepts
| Concept | Definition | When to apply? | Obligation |
|---|---|---|---|
| MAKEUP FASTING (Qada) |
Fast an equal number of days not fasted without valid excuse. | Illness, travel, menstruation, without other excuse. | 1 day fasted = 1 day made up. Pure obligation. |
| FIDYA (Compensation) |
Feed a poor person (0.5 kg of grain or ~1.50 EUR) per day. | Permanent inability to fast (chronic illness, old age). Certain cases of pregnancy/breastfeeding. | Given in addition to makeup fasting, or alone if makeup fasting is impossible. |
| KAFFARA (Expiation) |
Free a slave OR fast 60 days OR feed 60 poor people. | Intentional breaking of the fast (eating, drinking, relations). Grave sin. | Grave obligation + makeup of the day in question. |
What are the frequent mistakes to avoid?
Mistake 1: Confusing mild illness and chronic illness. If you have the flu for 3 days, you simply make up these 3 days. If you suffer from uncontrolled diabetes and fasting puts you in mortal danger, you give fidya (every missed day).
Mistake 2: Applying kaffara without having intentionally broken the fast. If you forgot and ate by mistake, you only make up that day. Kaffara only applies if you intentionally violated your fast.
Mistake 3: Thinking that fidya replaces makeup fasting in case of temporary illness. No: fidya is added to makeup fasting if you must postpone your makeup indefinitely. Consult our guide on Zakat al-Maal for a complete understanding of financial obligations in Islam.
Mistake 4: Ignoring intention in case of exemption. Even if you are sick, if you wake up without the intention to fast, you have already stopped fasting and do not need to intentionally break it.
Recommended reading for further study

Fasting of Ramadan (The)
The fruit of more than eight years of research, this work of the Maliki School summarizes the complete practice of fasting in the blessed month of Ramadan. An essential classic to understand the nuances of Maliki jurisprudence.
13,00 €
See the productWhat are the most frequently asked questions about the fiqh of fasting?
We compile here the most asked questions from our readers and the answers based on the consensus of scholars.
If I swallow my saliva, does it break my fast?
No, swallowing your saliva does not break the fast. You naturally produce saliva throughout the day, and it is part of your body. Imam ash-Shâfi'î explicitly exempted saliva from breaking the fast.
You can swallow it without worry. This is a question that many fasters unnecessarily ask themselves!
Can I brush my teeth during fasting?
Yes, you can brush your teeth during fasting. Imam al-Bukhârî explicitly permitted the miswak (neem stick) during fasting. However, be careful not to swallow toothpaste or water.
If you use toothpaste, spit out the water carefully. Many modern scholars recommend brushing your teeth after iftar for extra safety, but it is not obligatory.
Does a blood draw (blood donation) break the fast?
No, a blood draw does not break the fast according to the consensus of the four schools of law. Blood is not considered food or drink. However, blood donation can weaken your body, and some contemporary scholars recommend donating blood after iftar to avoid additional fatigue.
Sheikh ibn Bâz explicitly permitted blood draws during fasting.
What should I do if I forgot and ate during fasting?
If you forgot that you were fasting and ate or drank unintentionally, your fast is VALID and you do not need to make up this day. The Prophet said:
"Whoever forgets he is fasting and eats or drinks, let him complete his fast, for it is Allah who has fed him and given him to drink." (Reported by Al-Bukhari and Muslim). However, if you remember and then continue to eat intentionally, you must make up this day.
Must I make up missed days before the next Ramadan?
The majority of scholars consider that you must make up missed days before the next Ramadan. Imam al-Bukhârî reports the consensus on this point. If you have missed days and the next Ramadan arrives without you having made them up, you must also give fidya (feed a poor person per day).
However, some scholars (notably one position among the Hanafites) allow postponing the makeup beyond the one-year limit if you had a valid excuse. For religious safety, hasten to make up your missed days.

What is the book recommended by the Al-Imen editorial team?

The Fasting of Ramadan
The fasting of Ramadan embodies the third pillar of Islam. How can it be transformed into an instrument of spiritual purification? This work explores the ethical and spiritual dimensions of siyam, offering a profound understanding of the meaning of fasting beyond simple rules.
10,00 €
View the productHow to Practice the Fiqh of Fasting in Your Daily Life?
The fiqh of fasting is not a dry collection of rules; it is an expression of divine mercy toward His servants. By mastering these principles, you move from mechanical fasting to conscious and sincere fasting.
You understand why intention takes precedence over action, why Allah has provided exemptions for the sick and travelers, and how to correct shortcomings with justice and wisdom.
The three notions of makeup fasting, fidya, and kaffara each address a specific situation, and the legal schools, despite their slight differences, all aim for the same objective: to facilitate religious compliance without imposing an unjust penalty.
Whether you are fasting for the first time or have been refining your practice for years, remember that fasting is a school of discipline, divine consciousness, and inner purification.
The Prophet said: "Whoever fasts with faith and seeking the reward of Allah, his past sins will be forgiven." (Reported by Al-Bukhari and Muslim).
To deepen your understanding of the fundamentals of Islam, consult our comprehensive guide to the five pillars of Islam. You can also explore the origin and history of Ramadan for an enriching historical perspective.
Explore our specialized collections:
Discover our curated selections: Ramadan, Siyam and Eid Collection, Ramadan and Zakat Collection, and Islamic Jurisprudence Collection.
This article summarizes the positions of the four legal schools (Hanafi, Maliki, Shafi'i, and Hanbali) according to authentic sources (Quran, Sunnah, and consensus of scholars). In case of specific questions, consult a recognized scholar in your region.
Main Guide
Related Articles
📚 Also Read
−5% off the entire library with code BLOG5
Valid throughout the site, no minimum purchase required — our thanks to blog readers.
Discover the selection





