Short answer
Not in the Hanafi school. If you only decide in your heart to break the fast but do not eat or drink, your fast is still valid. It breaks only when you actually do something that breaks it. The Maliki and Hanbali schools say a firm decision to break the fast cancels it, but the Shafi'i school agrees with the Hanafis.
A mere intention to break the fast, without eating, drinking or doing anything else that breaks it, does not break the fast. The intention should be repented of, and the fast completed.
Other madhhabs
- Shafi'i
- Intending to break the fast does not cancel it. Only an act that breaks the fast, such as eating, does (unlike the prayer, which a changed intention cancels).
- Maliki
- A firm decision to break the fast cancels it, and the day is made up. A hesitant or conditional thought does not.
- Hanbali
- The same: a firm intention to break the fast breaks it even before eating or drinking. Zad al-Mustaqni says the one who intends to break the fast has broken it.
Explanation
Everyone has moments in a long fast when they think, "I will just eat something." The question is whether the thought itself ends the fast. The Prophet ﷺ said Allah has overlooked for his ummah what their hearts whisper, as long as they do not act on it or speak it. For the Hanafi scholars, a fast is a physical abstinence (imsak), and it ends when you stop abstaining by what you do, not by what you think.
Practical points:
- You thought of breaking it but changed your mind: nothing is needed. Keep fasting.
- You decided firmly to break it but then did not eat or drink: the fast is still valid in the Hanafi school. It is still wrong to plan to break a Ramadan fast without an excuse, so repent and continue.
- You ate or drank after deciding to: the fast is broken; see what happens if you break your fast on purpose.
- Your niyyah for the day: the intention you made for the fast stands. You do not renew it. See niyyah in Ramadan.
Treat these thoughts as a test. If the hunger is real and you are ill or at risk, you have the exemptions in who is exempt from fasting.
The evidence
Sahih al-Bukhari 2528
Sahih... إن الله تجاوز عن أمتي ما وسوست به صدورها ...
"Allah has overlooked for my ummah what their hearts whisper, as long as they do not act on it or speak it."
Thoughts that are not acted on or spoken are overlooked.
Where the ruling is recorded
- Bada'i al-Sana'i (al-Kasani), Kitab al-Sawm. Hanafis do not count a bare intention to break the fast as breaking it.
- Zad al-Mustaqni' (al-Hajjawi), Kitab al-Siyam. The Hanbali rule that the one who intends to break the fast has broken it.
Reviewed by Hafez Mawlana Abu Darda and Mawlana Akramul Haque Fenwi, Islamic scholars. For a more accurate answer to your own situation, consult a scholar. Quran translation by Saheeh International. Hadith: selections from sunnah.com, Arabic from the standard editions of the six books and the Muwatta, with gradings as recorded there; the English is our own rendering. Spotted a mistake? Tell us.