⌕ Search EN | اردو | عربي | ID | MS | TR | বাংলা | DE | FR Download Calendar

Home › Guides › Ramadan in the Quran and Hadith: Key Verses & Hadiths

Guides · Ramadan 2027

Ramadan in the Quran and Hadith: Key Verses & Hadiths

Ramadan in the Quran and Hadith: verses 2:183-187 and Surah Al-Qadr explained, plus famous authentic hadiths on fasting from Bukhari and Muslim sources.

By the Daily Ramadan Editorial Team · Last updated: November 2026 · How we source religious content

Quick Answer

The Quran legislates Ramadan fasting in Surah al-Baqarah 2:183-187, calls Ramadan the month in which the Quran was sent down (2:185), and describes Laylatul Qadr in Surah al-Qadr (97). Authentic hadith add that the gates of Paradise open, the devils are chained, and fasting is a shield (Bukhari and Muslim).

Everything Muslims do in Ramadan — the dawn-to-sunset fast, the night prayers, the search for Laylatul Qadr, the extra charity — traces back to a small number of Qur'an verses and a body of well-known hadiths. This guide gathers the most important of them in one place, with short explanations, so you can see for yourself what the sources actually say. Translations below are given as meanings, not as a substitute for the Arabic text or a full tafsir. For the story of how these verses were lived in the first community, see our history of Ramadan.

The Fasting Verses: Qur'an 2:183–187

The core passage is in Surah Al-Baqarah, revealed in Madinah. It is worth reading as a whole, because it contains the command, the purpose, the concessions and the daily timings in five verses.

Allah says (meaning): "O you who believe, fasting has been prescribed for you as it was prescribed for those before you, so that you may attain taqwa." — Qur'an 2:183

Verse 183 establishes fasting as a continuation of the practice of earlier communities and names its goal: taqwa, consciousness of Allah. The fast is not presented as an end in itself, but as training in God-awareness.

Allah says (meaning): "For a limited number of days. So whoever among you is ill or on a journey, then an equal number of other days. And upon those who are able to fast, but with hardship, a ransom of feeding a poor person. And whoever volunteers good, it is better for him. But to fast is best for you, if you only knew." — Qur'an 2:184

Verse 184 builds mercy into the law from the start: illness and travel postpone the fast rather than cancel it, and those who cannot fast at all substitute feeding. Scholars discuss the details of this verse — including how its early wording relates to the settled ruling that feeding (fidyah) applies to permanent inability — in the books of fiqh; see also our guide on who is exempt from fasting.

Allah says (meaning): "The month of Ramadan is the one in which the Qur'an was sent down, as guidance for mankind and clear proofs of guidance and criterion. So whoever sights the month, let him fast it; and whoever is ill or on a journey, then an equal number of other days. Allah intends ease for you and does not intend hardship for you..." — Qur'an 2:185

Verse 185 ties the month to the Qur'an's revelation and repeats the concession, adding the principle that runs through all Ramadan rulings: Allah intends ease, not hardship. The verse ends by commanding completion of the count and glorifying Allah — the root of the takbirs of Eid.

Allah says (meaning): "...And eat and drink until the white thread of dawn becomes distinct to you from the black thread of night. Then complete the fast until nightfall..." — Qur'an 2:187

Verse 187 fixes the daily boundaries used by every timetable today: eating and drinking are permitted through the night until true dawn, and the fast is completed until night — sunset. That is why your city timetable lists a Sehri end time at Fajr and an Iftar time at Maghrib.

The Night of Decree: Qur'an 97 and 44:3–4

Allah says (meaning): "Indeed, We sent it down during the Night of Decree. And what can make you know what the Night of Decree is? The Night of Decree is better than a thousand months. The angels and the Spirit descend therein by permission of their Lord for every matter. Peace it is until the emergence of dawn." — Qur'an 97:1–5

Surah Al-Qadr is short enough to memorise and is recited constantly in the last ten nights. A thousand months is more than 83 years — longer than most lifetimes — which is why a single hidden night drives so much worship. Surah Ad-Dukhan adds:

Allah says (meaning): "Indeed, We sent it down during a blessed night. Indeed, We were to warn mankind. On that night is made distinct every precise matter." — Qur'an 44:3–4

Our full guide to Laylatul Qadr covers which nights to seek it on in 2027, its reported signs, and the dua taught for it — also in our duas collection.

Famous Hadiths About Ramadan and Fasting

The hadiths below are among the best-known Ramadan narrations. All are from Sahih al-Bukhari and Sahih Muslim, the two most authentic collections; we cite the book rather than a narration number, since numbering differs between editions.

The gates are opened

The Prophet Muhammad ﷺ said (meaning): "When Ramadan comes, the gates of Paradise are opened, the gates of Hellfire are closed, and the devils are chained." — Sahih al-Bukhari and Sahih Muslim

This hadith sets the spiritual weather of the month: the environment itself is made favourable to good, which is why scholars say a person who does not improve in Ramadan should ask what is blocking the way.

Fasting is a shield

The Prophet Muhammad ﷺ said (meaning): "Fasting is a shield. So the fasting person should not behave obscenely or foolishly; and if someone fights him or insults him, let him say: I am fasting." The same narration adds that Allah said every deed of the son of Adam is for him except fasting — it is for Me, and I will reward it. — Sahih al-Bukhari and Sahih Muslim

The shield hadith explains why Ramadan fasting includes conduct, not only food: a fast that leaves behaviour unchanged has missed its own point.

Whoever fasts Ramadan in faith

The Prophet Muhammad ﷺ said (meaning): "Whoever fasts Ramadan out of faith and hoping for reward, his previous sins will be forgiven." — Sahih al-Bukhari and Sahih Muslim

Parallel narrations give the same promise for standing in prayer on Laylatul Qadr and for praying through Ramadan's nights — the basis of Taraweeh and of the effort of the last ten nights.

The breath of the fasting person and the gate of Rayyan

The Prophet Muhammad ﷺ said (meaning): "By the One in Whose Hand is my soul, the smell from the mouth of a fasting person is sweeter to Allah than the fragrance of musk." And: "In Paradise there is a gate called Ar-Rayyan, through which the fasting people will enter on the Day of Resurrection." — Sahih al-Bukhari and Sahih Muslim

Suhoor and hastening to break the fast

The Prophet Muhammad ﷺ said (meaning): "Take Suhoor, for in Suhoor there is blessing." — Sahih al-Bukhari and Sahih Muslim. And: "The people will remain upon good as long as they hasten to break the fast." — Sahih al-Bukhari and Sahih Muslim

These two short hadiths shape daily practice: eat something before dawn, even something small, and break the fast promptly at sunset rather than delaying it.

How to Read These Texts Honestly

A note on method, because it matters for everything on this site. Ramadan attracts a large amount of weak and even fabricated material in popular circulation — lists of special rewards for each individual day of the month, for example, have no sound basis. The texts above were chosen because they are in the Qur'an or in Bukhari and Muslim. Where scholars differ on interpretation — for instance, on details of verse 2:184 — we say so rather than presenting one reading as the only one. That same standard is applied in our guide to the virtues of Ramadan, where we deliberately separate well-established virtues from popular claims we could not verify.

Sources & References

  • Qur'an 2:183–187, 97:1–5 and 44:3–4 — translations given as meanings; consult a recognised translation and tafsir for study.
  • Sahih al-Bukhari and Sahih Muslim — hadiths on the gates of Paradise, fasting as a shield, forgiveness for fasting Ramadan in faith, Ar-Rayyan, Suhoor and hastening Iftar (book cited; numbering varies by edition).

For personal religious rulings, please consult a qualified scholar who knows your situation.

Frequently Asked Questions

Which verses of the Quran are about Ramadan fasting?

The main passage is Surah Al-Baqarah 2:183-187, which prescribes the fast, gives concessions for illness and travel, and permits eating and drinking until dawn. Surah Al-Qadr (97) describes Laylatul Qadr, and 2:185 says the Quran was sent down in Ramadan.

Where does the Quran say fasting was prescribed for earlier peoples?

In verse 2:183, which says fasting was prescribed for those before you, so that you may attain taqwa. It is the opening verse of the Ramadan fasting passage.

What does the hadith say about the gates of Paradise in Ramadan?

The Prophet Muhammad ﷺ said that when Ramadan comes, the gates of Paradise are opened, the gates of Hell are closed and the devils are chained. This is reported in Sahih al-Bukhari and Sahih Muslim.

Is fasting really described as a shield in hadith?

Yes. In Sahih al-Bukhari and Sahih Muslim the Prophet ﷺ said fasting is a shield, so a fasting person should not behave obscenely or quarrel, and if someone fights or insults him he should say: I am fasting.

Related Pages