Islamic Tuition Centre

Fasting in Ramadan: Complete Hanafi Guide

Intention, suhoor and iftar, what breaks the fast, qada and kaffarah, Taraweeh, Laylat al-Qadr and sunnah fasts — with evidence under every section.

  • One-to-one classes
  • Male & female teachers
  • Qualified teachers
  • Classes 24 hours a day

A complete Hanafi guide to fasting: who must fast, intention, suhoor and iftar, what breaks the fast and what does not, qada and kaffarah, Taraweeh, Laylat al-Qadr and sunnah fasts — with the evidence from the Quran and hadith under every section.

Sources. Rulings follow al-Hidayah, Mukhtasar al-Quduri, Nur al-Idah, Radd al-Muhtar and Bahishti Zewar. Hadith numbers follow sunnah.com.

Fasting in Ramadan

Sawm (roza) is the fourth pillar of Islam: leaving food, drink and marital relations from true dawn (subh sadiq) until sunset, with the intention of worship, every day of Ramadan.

يَا اَيُّهَا الَّذِيۡنَ اٰمَنُوۡا كُتِبَ عَلَيۡكُمُ الصِّيَامُ كَمَا كُتِبَ عَلٰى الَّذِيۡنَ مِن قَبۡلِكُمۡ لَعَلَّكُمۡ تَتَّقُوۡنَ

“O you who believe, fasting has been prescribed for you as it was prescribed for those before you, so that you may become mindful of Allah.” (Surah al-Baqarah 2:183)

📖 Evidence (Dalil) and source
  • Quran

    “The month of Ramadan, in which the Quran was revealed … so whoever of you witnesses the month, let him fast it.”

    Surah al-Baqarah 2:185
  • Hadith

    “Whoever fasts Ramadan out of faith and hoping for reward, his past sins are forgiven.”

    Sahih al-Bukhari 38, Sahih Muslim 760
  • Hadith

    “Whoever does not give up false speech and acting on it, Allah has no need of his leaving his food and drink.”

    Sahih al-Bukhari 1903

Who must fast

Every Muslim who is adult (baligh), sane and able, and not travelling, ill, or (for women) in menstruation or post-natal bleeding. Children are taught to fast gradually so that it is easy when they become adult.

📖 Evidence (Dalil) and source
  • Hanafi fiqh

    Fasting Ramadan is fard on every Muslim who is sane and adult.

    Mukhtasar al-Quduri, Kitab as-Sawm; al-Hidayah, Kitab as-Sawm

Sighting the moon

Ramadan begins when the new crescent is sighted after the 29th of Sha'ban, or after 30 days of Sha'ban are completed. Most communities follow their local mosque or national moon committee.

📖 Evidence (Dalil) and source
  • Hadith

    “Fast when you see it and end the fast when you see it; if it is hidden from you, complete the count of thirty.”

    Sahih al-Bukhari 1909, Sahih Muslim 1081

Intention (niyyah)

The intention is in the heart: knowing that you are fasting tomorrow is enough; eating suhoor with that purpose is itself an intention. For a Ramadan fast, the Hanafi school allows the intention until just before midday (the middle of the shar'i day), as long as nothing that breaks the fast has been done. For a qada or kaffarah fast, the intention must be made at night, before dawn.

📖 Evidence (Dalil) and source
  • Hadith

    “Actions are only by intentions.”

    Sahih al-Bukhari 1
  • Hanafi fiqh

    The intention for Ramadan, a fixed vow and nafl fasts is valid from the night until before midday; qada, kaffarah and unfixed vows require an intention from the night.

    al-Hidayah, Kitab as-Sawm; Nur al-Idah

Suhoor and iftar

  • Eat suhoor, even a little, and delay it towards the end of the night (stopping before dawn).
  • Break the fast straight after sunset, with dates or water.
  • Dua at iftar: “Dhahaba-z-zama'u wa-btallati-l-'uruqu wa thabata-l-ajru in sha' Allah” — “Thirst has gone, the veins are moistened and the reward is confirmed, if Allah wills.” (Sunan Abi Dawud 2357)
📖 Evidence (Dalil) and source
  • Hadith

    “Eat suhoor, for in suhoor there is blessing.”

    Sahih al-Bukhari 1923, Sahih Muslim 1095
  • Hadith

    “People will remain upon good as long as they hasten to break the fast.”

    Sahih al-Bukhari 1957, Sahih Muslim 1098
  • Quran

    “Eat and drink until the white thread of dawn becomes distinct to you from the black thread, then complete the fast until night.”

    Surah al-Baqarah 2:187

What breaks the fast

Only qada (make up one day)

  • Something entering the stomach or brain cavity through an opening that is not food or medicine taken normally (e.g. swallowing a pebble).
  • Vomiting a mouthful on purpose.
  • Eating or drinking by mistake while remembering the fast (e.g. water going down while gargling).
  • Eating thinking it was still night, or that the sun had set, when it had not.
  • Medicine drops in the ear or nose (Hanafi), and smoking or inhaling smoke on purpose (qada, and many scholars also require kaffarah for smoking).

Qada and kaffarah

  • Eating or drinking on purpose during a Ramadan fast without a valid excuse.
  • Marital relations on purpose during a Ramadan fast.
📖 Evidence (Dalil) and source
  • Hadith

    A man said: “I have been ruined; I had relations with my wife in Ramadan.” The Prophet ﷺ told him to free a slave, or fast two consecutive months, or feed sixty poor people.

    Sahih al-Bukhari 1936, Sahih Muslim 1111
  • Hadith

    “Whoever is overcome by vomit owes no make-up; whoever vomits on purpose must make it up.”

    Sunan Abi Dawud 2380; Jami' at-Tirmidhi 720
  • Hanafi fiqh

    Deliberate eating, drinking or intercourse in a Ramadan fast requires qada and kaffarah; the other cases require qada only.

    al-Hidayah, Bab Ma Yujib al-Qada' wa-l-Kaffarah; Nur al-Idah

Qada and kaffarah

Qada: one day for each missed day, before the next Ramadan if possible. Kaffarah: fasting 60 days in a row; if a person truly cannot fast, feeding 60 poor people two meals each (or giving each the amount of Sadaqat al-Fitr).

What does not break the fast

  • Eating or drinking forgetfully — continue the fast.
  • Brushing the teeth without swallowing; using a miswak.
  • Vomiting without choice.
  • Kohl (surmah), applying oil, a bath or shower.
  • Injections into a muscle or vein (most Hanafi scholars of our time; nutritional drips are differed upon).
  • Tasting food on the tongue without swallowing (disliked without need).
  • Waking up in a state of janabah — perform ghusl and continue the fast.
📖 Evidence (Dalil) and source
  • Hadith

    “Whoever forgets while fasting and eats or drinks, let him complete his fast, for it is Allah who fed him and gave him drink.”

    Sahih al-Bukhari 1933, Sahih Muslim 1155
  • Hanafi fiqh

    Oil, kohl, cupping, kissing (for one in control of himself) and swallowing one's saliva do not break the fast.

    al-Hidayah; Mukhtasar al-Quduri, Kitab as-Sawm

Who may leave the fast

  • The traveller (journey of about 77–78 km or more) — may fast or make up later; fasting is better if it is not hard.
  • The ill person whose illness would worsen — makes up later.
  • Pregnant or breastfeeding women who fear for themselves or the child — make up later.
  • Women in menstruation or post-natal bleeding must not fast; they make up the days (not the prayers).
  • The very old or permanently ill who cannot fast — give fidyah for each day (the amount of Sadaqat al-Fitr).
📖 Evidence (Dalil) and source
  • Quran

    “Whoever of you is ill or on a journey, then an equal number of other days; and upon those who can fast only with great hardship, a ransom: feeding a poor person.”

    Surah al-Baqarah 2:184
  • Hadith

    'A'ishah: “We were commanded to make up the fasts, and not commanded to make up the prayers.”

    Sahih Muslim 335

Taraweeh

Taraweeh is sunnah mu'akkadah for men and women in Ramadan after 'Isha. In the Hanafi school it is 20 rak'ahs, in sets of two, with a short rest after every four, followed by Witr in congregation. Completing the whole Quran once in Taraweeh is sunnah.

📖 Evidence (Dalil) and source
  • Hadith

    “Whoever stands (in prayer) in Ramadan out of faith and hoping for reward, his past sins are forgiven.”

    Sahih al-Bukhari 37, Sahih Muslim 759
  • Hadith

    As-Sa'ib ibn Yazid reported that in the time of 'Umar the people prayed twenty rak'ahs in Ramadan.

    as-Sunan al-Kubra (al-Bayhaqi)
  • Hanafi fiqh

    Taraweeh is twenty rak'ahs in ten sets of two, with a rest after each four.

    al-Hidayah, Fasl fi Qiyam Shahr Ramadan; Nur al-Idah

Laylat al-Qadr and I'tikaf

Laylat al-Qadr is better than a thousand months. Seek it in the odd nights of the last ten. I'tikaf in the mosque for the last ten days of Ramadan is sunnah kifayah for men; women make i'tikaf in the prayer place of their home (Hanafi).

📖 Evidence (Dalil) and source
  • Quran

    “The Night of Decree is better than a thousand months.”

    Surah al-Qadr 97:3
  • Hadith

    “Seek Laylat al-Qadr in the odd nights of the last ten of Ramadan.”

    Sahih al-Bukhari 2017
  • Hadith

    The Prophet ﷺ used to make i'tikaf in the last ten days of Ramadan until Allah took him.

    Sahih al-Bukhari 2026, Sahih Muslim 1172
  • Hadith

    Dua for Laylat al-Qadr: “Allahumma innaka 'afuwwun tuhibbu-l-'afwa fa'fu 'anni.”

    Jami' at-Tirmidhi 3513; Sunan Ibn Majah 3850

Sunnah and recommended fasts

FastWhenEvidence
Six days of ShawwalAny six days after Eid al-FitrSahih Muslim 1164
Day of 'Arafah9 Dhul Hijjah (not for pilgrims at 'Arafah)Sahih Muslim 1162
'Ashura10 Muharram, with the 9th or 11thSahih Muslim 1162, 1134
Mondays and ThursdaysEvery weekJami' at-Tirmidhi 747
The white days13, 14 and 15 of each Islamic monthJami' at-Tirmidhi 761

Forbidden days to fast: the two Eids and the three days after Eid al-Adha (11–13 Dhul Hijjah). (Sahih al-Bukhari 1991; Sahih Muslim 1141)

Islamic calendar

See today's Hijri date, the whole month and the expected dates of Ramadan and the Eids on our Islamic calendar.

Please note. This guide follows the Hanafi school as set out in the books named under each section. For a question about your own situation, ask a qualified Hanafi scholar (mufti).

Learn it with a teacher

A teacher explains each ruling with its evidence and answers your questions, one to one.

Islamic Knowledge courseBook a free trial

Begin with a free trial class

Meet the teacher, see how the lesson works, and decide with no obligation.