Ramadan, Fasting, and Zakah in Madinah
This chapter covers the obligation of Ramadan fasting, other voluntary fasts taught by the Prophet ﷺ, suhur and iftar, Laylatul Qadr, the last ten nights, charity and zakah in Madinah, Zakat al-Fitr, Eid, Qur'an, self-control, and how worship prepared the Ummah before Badr.
Where This Chapter Fits
After the adhan and the change of Qiblah, Madinah’s worship life deepened further. Ramadan fasting became obligatory in the second year after Hijrah, before the Battle of Badr.
Prayer identity
The adhan and Qiblah gave the Ummah a public worship rhythm and a clear direction.
Fasting and giving
Ramadan, charity, and zakah trained the believers in taqwa, mercy, and obedience.
Badr approaches
The first Ramadan of obligation came in the same period as the road toward Badr.
Ramadan Became Obligatory in Madinah
Fasting was known before the final obligation of Ramadan, but the full obligation of fasting the month of Ramadan came in Madinah. This happened in the second year after Hijrah, the same year in which Badr would occur.
This timing matters. The Ummah was being trained before a major test. Prayer gave rhythm, Qiblah gave direction, and fasting gave discipline. Ramadan entered the Seerah as a school of taqwa, patience, hunger, mercy, and obedience.
Allah did not command fasting as empty hardship. He commanded it so that believers may gain taqwa. Hunger was not the goal by itself; a heart trained to obey Allah was the goal.
Qur'an 2:183-185; Seerah timeline reports place the obligation in 2 AHFasting Was Prescribed for Taqwa
يَا أَيُّهَا الَّذِينَ آمَنُوا كُتِبَ عَلَيْكُمُ الصِّيَامُ كَمَا كُتِبَ عَلَى الَّذِينَ مِن قَبْلِكُمْ لَعَلَّكُمْ تَتَّقُونَ
Meaning: “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.”
Qur'an 2:183From Earlier Fasting to Ramadan
The believers were trained step by step. The obligation of Ramadan came after earlier fasting practices and prepared the Ummah for a new level of worship.
A gradual path of worship
Authentic reports mention that the Prophet ﷺ fasted the day of Ashura and instructed fasting it before Ramadan became obligatory. When Ramadan was made obligatory, Ashura was no longer the required fast, though it remained a recommended fast.
The Qur'anic verses about fasting also show stages of instruction: fasting for counted days, allowances for the sick and traveller, feeding a poor person in the earlier wording, then the clear obligation of fasting Ramadan for those who witness the month.
This gradual teaching helped the community move from scattered hardship into structured worship. Islam trained the believers without tearing them from human capacity.
Sahih al-Bukhari 1892; Sahih Muslim 1125; Qur'an 2:184-185The Month of Qur'an
شَهْرُ رَمَضَانَ الَّذِي أُنزِلَ فِيهِ الْقُرْآنُ هُدًى لِّلنَّاسِ وَبَيِّنَاتٍ مِّنَ الْهُدَىٰ وَالْفُرْقَانِ
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 the criterion.”
Qur'an 2:185Other Fasts the Prophet ﷺ Taught
Ramadan became the obligatory month of fasting, but the Prophet ﷺ also taught voluntary fasts that trained believers throughout the year.
Monday and Thursday
The Prophet ﷺ encouraged fasting on Mondays and Thursdays. Reports mention that deeds are presented on these days, and he loved that his deeds be presented while he was fasting.
Monday also held a special meaning because the Prophet ﷺ said he was born on Monday and revelation came to him on Monday. This connects voluntary fasting to gratitude, remembrance, and love of revelation.
Sahih Muslim 1162; Jami' at-Tirmidhi 747; Sunan an-Nasa'i 2358Ashura and differing from the Jews
The Prophet ﷺ fasted Ashura and taught its virtue. Authentic reports mention that fasting Ashura expiates the previous year. Before Ramadan became obligatory, Ashura had a stronger place; after Ramadan, it remained a recommended fast.
When the Prophet ﷺ learned that Jews also honoured and fasted this day because Allah saved Musa عليه السلام and his people, he taught the Muslims that they had more right to Musa عليه السلام. Later, he intended to fast the ninth along with the tenth, so the Muslim practice would be distinct.
So the careful teaching is: fasting Ashura is Sunnah, and it is recommended to add the ninth with it. Some reports also mention adding a day after it, but the clearest authentic wording is the intention to fast the ninth.
Sahih al-Bukhari 2004; Sahih Muslim 1130; Sahih Muslim 1134; Sahih Muslim 1162Day of Arafah and other voluntary fasts
The Prophet ﷺ taught the virtue of fasting the Day of Arafah for those not performing Hajj. Authentic reports mention that it expiates the previous year and the coming year.
He also encouraged fasting three days from each month. Reports mention the white days, the 13th, 14th, and 15th of the lunar month, as a recommended way to keep regular fasting outside Ramadan.
Sahih Muslim 1162; Jami' at-Tirmidhi 761; Sunan Abi Dawud 2449; Sunan an-Nasa'i 2420Six Days of Shawwal
After Ramadan, the Prophet ﷺ taught the virtue of fasting six days of Shawwal. Authentic reports mention that whoever fasts Ramadan and then follows it with six days of Shawwal is rewarded like fasting the year.
This shows that Ramadan was not meant to vanish after Eid. The month trained the believer, and Shawwal gave a gentle bridge into continued worship.
Sahih Muslim 1164Monday and Thursday
Regular voluntary fasting trained gratitude, discipline, and readiness for Allah’s record of deeds.
Ashura and Arafah
These days carried special virtues, with Ashura linked to Musa عليه السلام and Arafah linked to great forgiveness.
Three days each month
The Prophet ﷺ encouraged regular fasting beyond Ramadan, including the white days in many reports.
Ease for the sick and traveller
The fasting verses include mercy. Whoever is ill or travelling may make up the missed days later. This shows that worship in Islam is serious, but not cruel.
The Madinan community was being trained to obey Allah with discipline and mercy together. Strength and ease were not enemies. Both came from revelation.
Qur'an 2:184-185Allah wants ease, not hardship
Allah says He intends ease for believers and does not intend hardship. Ramadan is a month of worship, but its rulings carry balance, allowances, and mercy.
This mattered especially in Madinah, where people had migration hardship, climate adjustment, work, family needs, and soon military tests.
Qur'an 2:185Allah Wants Ease for You
يُرِيدُ اللَّهُ بِكُمُ الْيُسْرَ وَلَا يُرِيدُ بِكُمُ الْعُسْرَ
Meaning: “Allah intends ease for you and does not intend hardship for you.”
Qur'an 2:185Fasting Trained More Than Hunger
The Prophet ﷺ taught that fasting is not only leaving food and drink. A fasting believer must guard speech, anger, desire, and behaviour. If someone insults or fights him, he should respond with dignity and remember that he is fasting.
This was exactly the kind of training the Madinan community needed. The city was growing, disagreements would happen, enemies watched from outside, and hypocrisy would appear from inside. Fasting trained believers to control the self before facing the world.
Ramadan turned hunger into worship and self-control into strength.
Sahih al-Bukhari 1894; Sahih Muslim 1151Allah Is Near
وَإِذَا سَأَلَكَ عِبَادِي عَنِّي فَإِنِّي قَرِيبٌ ۖ أُجِيبُ دَعْوَةَ الدَّاعِ إِذَا دَعَانِ
Meaning: “And when My servants ask you concerning Me, then indeed I am near. I respond to the supplication of the caller when he calls upon Me.”
Qur'an 2:186Fasting trained the heart
The purpose of fasting was not hunger alone, but taqwa and obedience to Allah.
Ramadan carried guidance
Ramadan is the month in which the Qur'an was sent down as guidance and criterion.
Allah is near
The fasting passage includes the beautiful verse of dua and Allah’s nearness.
The Prophet ﷺ in Ramadan
The Prophet ﷺ was the most generous of people, and he was even more generous in Ramadan when Jibril عليه السلام would meet him. Authentic reports mention that Jibril عليه السلام would review the Qur'an with him in Ramadan.
This connects Ramadan directly to Qur'an and generosity. The month trained the tongue with recitation, the heart with taqwa, the stomach with restraint, and the hand with giving.
Madinah’s Ramadan was therefore not only private fasting. It was Qur'an, charity, prayer, feeding, mercy, and preparation for sacrifice.
Sahih al-Bukhari 6; Sahih Muslim 2308Night Prayer and Ramadan
The Prophet ﷺ encouraged standing in prayer during Ramadan with faith and hope for reward. Reports mention that whoever stands in Ramadan with faith and seeking reward will have previous sins forgiven.
Later, the organized public form of Ramadan night prayer developed further, but the spiritual foundation was already clear: Ramadan is not only fasting by day. It is a month of night worship, Qur'an, dua, and forgiveness.
This helped build the inner strength of the believers before the outer tests of Madinah grew heavier.
Sahih al-Bukhari 37; Sahih Muslim 759Suhur, Iftar, and Daily Mercy
The Prophet ﷺ taught the blessing of suhur and encouraged the believers to eat it, even if it was simple. Suhur strengthened the body before fasting and separated the fasting of Muslims from the fasting practices of earlier communities.
He also encouraged hastening iftar once the sun had set. Iftar was not delayed as a display of harshness. Islam taught discipline during the fast and mercy when the time of relief arrived.
The Prophet ﷺ would break his fast before praying Maghrib. Reports mention fresh dates, dry dates, or water when dates were not available. He also taught dua at the time of breaking the fast, and this moment became one of gratitude after hunger.
These details matter because Islam was shaping daily life: the pre-dawn meal, the sunset relief, the family table, the masjid, the prayer, and the believer’s gratitude all became part of worship.
Sahih al-Bukhari 1923; Sahih Muslim 1095; Sahih al-Bukhari 1957; Sahih Muslim 1098; Sunan Abi Dawud 2356; Jami' at-Tirmidhi 696Blessing before dawn
The Prophet ﷺ taught that suhur contains blessing, even when the meal is simple.
Relief at sunset
The Sunnah is to break the fast when sunset enters, without unnecessary delay.
A moment of gratitude
Iftar reminds the believer that food, water, strength, and worship are gifts from Allah.
Laylatul Qadr and the Last Ten Nights
Ramadan is not only daytime fasting. Its nights carry Qur'an, dua, worship, and the search for Laylatul Qadr.
The Night better than a thousand months
Allah revealed a whole surah about Laylatul Qadr. It is the night in which the Qur'an was sent down, and Allah describes it as better than a thousand months.
This means Ramadan is tied to revelation in a special way. The Qur'an was sent down in Ramadan, and Laylatul Qadr is the night of immense honour, mercy, angels, peace, and worship.
The Prophet ﷺ taught the believers to seek Laylatul Qadr in the last ten nights of Ramadan, especially the odd nights. This made the end of Ramadan a time of increased effort, not a time of laziness.
Qur'an 97:1-5; Qur'an 44:3; Sahih al-Bukhari 2017; Sahih Muslim 1169Laylatul Qadr
لَيْلَةُ الْقَدْرِ خَيْرٌ مِّنْ أَلْفِ شَهْرٍ تَنَزَّلُ الْمَلَائِكَةُ وَالرُّوحُ فِيهَا بِإِذْنِ رَبِّهِم مِّن كُلِّ أَمْرٍ سَلَامٌ هِيَ حَتَّىٰ مَطْلَعِ الْفَجْرِ
Meaning: “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:3-5The Prophet ﷺ increased worship
When the last ten nights entered, the Prophet ﷺ would tighten his waist-wrapper, stay awake at night, and wake his family. This shows serious effort, family worship, and a home filled with remembrance in the most precious nights of the year.
He also used to perform i'tikaf in the last ten nights of Ramadan, staying in the masjid for worship, Qur'an, dua, and devotion to Allah.
Sahih al-Bukhari 2024; Sahih Muslim 1174; Sahih al-Bukhari 2026; Sahih Muslim 1171The dua he taught Aishah رضي الله عنها
Aishah رضي الله عنها asked the Prophet ﷺ what she should say if she knew which night was Laylatul Qadr. He taught her to say: “Allahumma innaka ‘afuwwun tuhibbul ‘afwa fa‘fu ‘anni.”
Meaning: “O Allah, You are Pardoning and You love to pardon, so pardon me.”
This dua is short, but it carries the heart of the last ten nights: asking Allah not only for reward, but for pardon, cleansing, and nearness.
Jami' at-Tirmidhi 3513; Sunan Ibn Majah 3850Dua of Laylatul Qadr
اللَّهُمَّ إِنَّكَ عَفُوٌّ تُحِبُّ الْعَفْوَ فَاعْفُ عَنِّي
Meaning: “O Allah, You are Pardoning and You love to pardon, so pardon me.”
Jami' at-Tirmidhi 3513; Sunan Ibn Majah 3850Jibril عليه السلام and Ramadan Revelation
Ramadan has a special connection to revelation. Allah says the Qur'an was sent down in Ramadan, and Surah al-Qadr mentions the Night of Decree. Authentic reports also mention that Jibril عليه السلام would meet the Prophet ﷺ in Ramadan and review the Qur'an with him.
In the final Ramadan of the Prophet’s ﷺ life, Jibril عليه السلام reviewed the Qur'an with him twice. Fatimah رضي الله عنها later understood from this that the Prophet’s ﷺ time in this world was nearing its completion, as mentioned in authentic reports.
So Ramadan in the Seerah is not only hunger, charity, and night prayer. It is also the month of Qur'an, angelic meeting, review of revelation, and deep preparation of the Ummah.
Qur'an 2:185; Qur'an 97:1-5; Sahih al-Bukhari 6; Sahih al-Bukhari 4998; Sahih Muslim 2450Zakah and Charity in the Madinan Community
Fasting trained the self. Zakah and charity trained the community to carry one another.
Wealth also had to obey Allah
In Madinah, Islam was forming a society, not only individual worshippers. Wealth, food, trade, crops, animals, and savings could not remain outside obedience to Allah.
Zakah purified wealth and supported those in need. Charity softened hearts and protected society from greed. The Muhajirun had left much behind, the Ansar were helping, and the city needed a worship-based economy of mercy and responsibility.
The detailed legal system of zakah developed through revelation and Prophetic teaching, but the meaning was already central: the wealth of believers carries duties toward Allah and people.
Qur'an 2:43; Qur'an 9:60; hadith and fiqh reports on zakah rulingsWho Receives Zakah
إِنَّمَا الصَّدَقَاتُ لِلْفُقَرَاءِ وَالْمَسَاكِينِ وَالْعَامِلِينَ عَلَيْهَا وَالْمُؤَلَّفَةِ قُلُوبُهُمْ وَفِي الرِّقَابِ وَالْغَارِمِينَ وَفِي سَبِيلِ اللَّهِ وَابْنِ السَّبِيلِ
Meaning: “Charities are only for the poor, the needy, those employed to collect them, those whose hearts are to be reconciled, freeing captives, those in debt, in the cause of Allah, and the traveller.”
Qur'an 9:60Zakat al-Fitr Before Eid
Authentic reports mention that the Prophet ﷺ made Zakat al-Fitr obligatory before Eid prayer. It was given as food and connected Ramadan to care for the poor before the day of celebration.
This is a beautiful Madinan lesson: worship does not end with personal completion. The fasting believer thinks of the hungry before Eid begins. Joy must not leave the poor outside the door.
Zakat al-Fitr also purified the fasting person from shortcomings connected to speech and behaviour, and it fed those in need.
Sahih al-Bukhari 1503; Sahih Muslim 984; Sunan Abi Dawud 1609Eid al-Fitr and Public Joy
Ramadan led to Eid al-Fitr, a public day of worship, gratitude, and lawful joy. The Prophet ﷺ taught the Ummah that worship does not erase happiness. It purifies it.
Eid gathered the community after fasting. It gave the believers a shared celebration that began with obedience to Allah, charity to the needy, and public remembrance.
This mattered in Madinah because Islam was creating not only obligations, but a full way of life: worship, family, food, giving, gathering, and joy under Allah’s guidance.
Sahih al-Bukhari 956; Sahih Muslim 889; reports on Eid prayer and public celebrationDo not make Ramadan only hunger
It is Qur'an, taqwa, dua, night worship, generosity, and discipline.
Do not separate zakah from community
Zakah and charity helped Madinah become a society that carried its weak.
Do not skip the timing
Ramadan became obligatory in 2 AH, before Badr, training the believers before a major test.
Dua for Acceptance
رَبَّنَا تَقَبَّلْ مِنَّا ۖ إِنَّكَ أَنتَ السَّمِيعُ الْعَلِيمُ
Meaning: “Our Lord, accept from us. Indeed, You are the Hearing, the Knowing.”
Qur'an 2:127What This Stage Led To
The first Ramadan of obligation came in the same year as Badr. The believers were being trained in obedience before facing a decisive test.
Ramadan fasting became obligatory
The believers were commanded to fast the month of Ramadan as a path to taqwa.
The month of guidance
Ramadan was linked to the Qur'an, dua, night worship, and generosity.
Zakah and charity shaped society
Wealth was trained to serve Allah, mercy, and community responsibility.
Battle of Badr
The next chapter covers the first major battle and Allah’s help to the believers.
References Used in This Chapter
Major claims are tied to Qur'an, authentic hadith, or named Seerah timeline reports.
- Qur'an 2:183-185: obligation of fasting, taqwa, Ramadan as the month of Qur'an, allowances for the sick and traveller, and Allah intending ease.
- Qur'an 2:186: Allah’s nearness and answering dua within the fasting passage.
- Qur'an 97:1-5: Laylatul Qadr, its virtue, angels descending, peace until dawn, and its connection to the Qur'an.
- Qur'an 44:3: revelation being sent down on a blessed night.
- Qur'an 2:43: establishing prayer and giving zakah.
- Qur'an 9:60: categories of zakah recipients.
- Qur'an 2:127: dua for acceptance.
- Sahih al-Bukhari 1892 and Sahih Muslim 1125: Ashura fasting before Ramadan became obligatory and its later recommended status.
- Sahih al-Bukhari 2004, Sahih Muslim 1130, and Sahih Muslim 1134: Ashura, Musa عليه السلام, and the Prophet’s ﷺ intention to fast the ninth along with the tenth.
- Sahih Muslim 1162: virtues of fasting Monday, the Day of Arafah, and Ashura in the report of Abu Qatadah رضي الله عنه.
- Jami' at-Tirmidhi 747 and Sunan an-Nasa'i 2358: fasting Monday and Thursday and deeds being presented.
- Jami' at-Tirmidhi 761, Sunan Abi Dawud 2449, and Sunan an-Nasa'i 2420: fasting three days each month and reports about the white days.
- Sahih Muslim 1164: fasting six days of Shawwal after Ramadan.
- Sahih al-Bukhari 1894 and Sahih Muslim 1151: fasting as protection and guarding behaviour.
- Sahih al-Bukhari 6 and Sahih Muslim 2308: the Prophet’s ﷺ generosity in Ramadan and Jibril عليه السلام reviewing Qur'an with him.
- Sahih al-Bukhari 4998 and Sahih Muslim 2450: Jibril عليه السلام reviewing the Qur'an twice with the Prophet ﷺ in his final Ramadan and the connection to Fatimah رضي الله عنها.
- Sahih al-Bukhari 2017 and Sahih Muslim 1169: seeking Laylatul Qadr in the last ten nights.
- Sahih al-Bukhari 2024 and Sahih Muslim 1174: the Prophet ﷺ increasing worship in the last ten nights and waking his family.
- Sahih al-Bukhari 2026 and Sahih Muslim 1171: i'tikaf in the last ten nights of Ramadan.
- Jami' at-Tirmidhi 3513 and Sunan Ibn Majah 3850: the dua taught to Aishah رضي الله عنها for Laylatul Qadr.
- Sahih al-Bukhari 37 and Sahih Muslim 759: standing in Ramadan with faith and seeking reward.
- Sahih al-Bukhari 1923, Sahih Muslim 1095, Sahih al-Bukhari 1957, and Sahih Muslim 1098: suhur and hastening iftar at the proper time.
- Sunan Abi Dawud 2356 and Jami' at-Tirmidhi 696: reports about what the Prophet ﷺ would break his fast with and dua at iftar.
- Sahih al-Bukhari 1503, Sahih Muslim 984, and Sunan Abi Dawud 1609: Zakat al-Fitr, its timing, and its purpose.
- Sahih al-Bukhari 956 and Sahih Muslim 889: Eid prayer and lawful joy in the Muslim community.
- Seerah timeline reports: Ramadan fasting becoming obligatory in 2 AH before Badr is recorded in Seerah and legal-history discussions.
- Content note: detailed fiqh differences about fasting, zakah amounts, and Eid rulings are not debated here. This page focuses on the Seerah timing, Qur'anic foundations, and the building of Madinah through worship.
