The Seerah · Chapter 19
Chapters Home
PART 4 · THE MADINAN PERIOD · الْعَهْدُ الْمَدَنِيُّ

STAGE 1 · BUILDING THE COMMUNITY

الْمُجْتَمَعُ الْجَدِيدُ فِي الْمَدِينَةِ

Chapter 19: The New Society in Madinah

Neighbours, agreements, guests of Islam — and a new qiblah

Sheikh Mohamed Fawzyالشيخ محمد فوزي

© 2026 Sheikh Mohamed Fawzy. All rights reserved. Version 1.7

The people of Madinah سُكَّانُ الْمَدِينَةِ

Who lived in Madinah?

Madinah was not a city of one people. Tap each group:

Tap a group.

Be fair and precise with students: the Jewish tribes are judged by their own choices in later events (Banū Qurayẓah in Chapter 22), not by their religion alone; the Prophet ﷺ first made peace with them.

Living together كِتَابُ الْمَدِينَةِ

Rules written down for everyone

To organise life in the city, the Prophet ﷺ wrote down rules for every clan.

عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ قَالَ: كَتَبَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَلَى كُلِّ بَطْنٍ عُقُولَهُ ...
Jābir ibn ‘Abdillāh said: “The Prophet ﷺ wrote down, for every clan, its blood-money duties [what each clan must pay if one of its members kills someone by mistake]…”
Sahih Muslim 1507Sahih
A written agreement with the Jews: Ka‘b ibn Mālik reports that the Prophet ﷺ wrote a document between himself and the Jews and polytheists of Madinah (3 AH, after the killing of Ka‘b ibn al-Ashraf). — Sunan Abī Dāwūd (3000); al-Albānī: chain ṣaḥīḥ (Ṣaḥīḥ Abī Dāwūd); al-Arna’ūṭ: trustworthy narrators, with a difference over whether it is connected.

The long text of the “Ṣaḥīfah” (the Madinah Charter) is given by Ibn Isḥāq without a chain, and its other chains are weak, so its detailed wording is not taught here — only what is confirmed: the Prophet ﷺ wrote down rules for the clans (Muslim 1507) and a written agreement with the Jews (Abū Dāwūd 3000). Abū Dāwūd’s report places that agreement after the killing of Ka‘b ibn al-Ashraf (3 AH); some scholars see it as a renewal of an earlier pact.

Ahl al-Ṣuffah أَهْلُ الصُّفَّةِ

“The guests of Islam”

قَالَ أَبُو هُرَيْرَةَ: ... وَأَهْلُ الصُّفَّةِ أَضْيَافُ الْإِسْلَامِ، لَا يَأْوُونَ إِلَى أَهْلٍ وَلَا مَالٍ، وَلَا عَلَى أَحَدٍ، إِذَا أَتَتْهُ صَدَقَةٌ بَعَثَ بِهَا إِلَيْهِمْ، وَلَمْ يَتَنَاوَلْ مِنْهَا شَيْئًا، وَإِذَا أَتَتْهُ هَدِيَّةٌ أَرْسَلَ إِلَيْهِمْ، وَأَصَابَ مِنْهَا وَأَشْرَكَهُمْ فِيهَا ...
Abū Hurayrah said: “…The people of the Ṣuffah were the guests of Islam: they had no family, no wealth and no one to turn to. When charity came to him [the Prophet ﷺ], he sent all of it to them and took nothing from it himself. When a gift came to him, he sent for them, took some of it, and shared it with them…”
Sahih al-Bukhari 6452Sahih

The Masjid was also a home for the poor — and a school: many of the Ṣuffah, like Abū Hurayrah, became great teachers of the Sunnah.

A blessing قَدَحُ اللَّبَنِ

One cup of milk for everyone

Abū Hurayrah was very hungry. The Prophet ﷺ had been given one cup of milk — and he sent Abū Hurayrah to invite all the people of the Ṣuffah first.

قَالَ أَبُو هُرَيْرَةَ: ... فَأَخَذْتُ الْقَدَحَ فَجَعَلْتُ أُعْطِيهِ الرَّجُلَ فَيَشْرَبُ حَتَّى يَرْوَى، ثُمَّ يَرُدُّ عَلَيَّ الْقَدَحَ، فَأُعْطِيهِ الرَّجُلَ فَيَشْرَبُ حَتَّى يَرْوَى، ثُمَّ يَرُدُّ عَلَيَّ الْقَدَحَ فَيَشْرَبُ حَتَّى يَرْوَى، ثُمَّ يَرُدُّ عَلَيَّ الْقَدَحَ، حَتَّى انْتَهَيْتُ إِلَى النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَقَدْ رَوِيَ الْقَوْمُ كُلُّهُمْ، فَأَخَذَ الْقَدَحَ فَوَضَعَهُ عَلَى يَدِهِ فَنَظَرَ إِلَيَّ فَتَبَسَّمَ فَقَالَ «أَبَا هِرٍّ». قُلْتُ لَبَّيْكَ يَا رَسُولَ اللَّهِ. قَالَ «بَقِيتُ أَنَا وَأَنْتَ». قُلْتُ صَدَقْتَ يَا رَسُولَ اللَّهِ. قَالَ «اقْعُدْ فَاشْرَبْ». فَقَعَدْتُ فَشَرِبْتُ. فَقَالَ «اشْرَبْ». فَشَرِبْتُ، فَمَا زَالَ يَقُولُ «اشْرَبْ». حَتَّى قُلْتُ لَا وَالَّذِي بَعَثَكَ بِالْحَقِّ، مَا أَجِدُ لَهُ مَسْلَكًا. قَالَ «فَأَرِنِي». فَأَعْطَيْتُهُ الْقَدَحَ فَحَمِدَ اللَّهَ وَسَمَّى، وَشَرِبَ الْفَضْلَةَ.
Abū Hurayrah said: “…I took the cup and began giving it to one man, who drank until he was full and gave the cup back to me; then I gave it to the next man, who drank until he was full and gave the cup back to me; then I gave it to the next, who drank until he was full and gave the cup back to me — until I reached the Prophet ﷺ, and all the people had drunk their fill. He took the cup, put it on his hand, looked at me, smiled and said: ‘Abū Hirr!’ I said: ‘Here I am, O Messenger of Allah.’ He said: ‘Only you and I are left.’ I said: ‘You are right, O Messenger of Allah.’ He said: ‘Sit and drink.’ So I sat and drank. He said: ‘Drink!’ and I drank. He kept saying ‘Drink!’ until I said: ‘No, by the One who sent you with the truth, I can find no more room for it!’ He said: ‘Then give it to me.’ I gave him the cup; he praised Allah, said His name, and drank what was left.”
Sahih al-Bukhari 6452Sahih

Notice his manners: he served his guests first and drank last; and he praised Allah and said “Bismillāh” before drinking.

A new direction تَحْوِيلُ الْقِبْلَةِ

Turning towards the Ka‘bah

عَنِ الْبَرَاءِ بْنِ عَازِبٍ رَضِيَ اللَّهُ عَنْهُمَا قَالَ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ صَلَّى نَحْوَ بَيْتِ الْمَقْدِسِ سِتَّةَ عَشَرَ أَوْ سَبْعَةَ عَشَرَ شَهْرًا، وَكَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُحِبُّ أَنْ يُوَجَّهَ إِلَى الْكَعْبَةِ، فَأَنْزَلَ اللَّهُ ﴿قَدْ نَرَى تَقَلُّبَ وَجْهِكَ فِي السَّمَاءِ﴾ فَتَوَجَّهَ نَحْوَ الْكَعْبَةِ، وَقَالَ السُّفَهَاءُ مِنَ النَّاسِ وَهُمُ الْيَهُودُ مَا وَلَّاهُمْ عَنْ قِبْلَتِهِمُ الَّتِي كَانُوا عَلَيْهَا ﴿قُلْ لِلَّهِ الْمَشْرِقُ وَالْمَغْرِبُ يَهْدِي مَنْ يَشَاءُ إِلَى صِرَاطٍ مُسْتَقِيمٍ﴾ فَصَلَّى مَعَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ رَجُلٌ ثُمَّ خَرَجَ بَعْدَ مَا صَلَّى، فَمَرَّ عَلَى قَوْمٍ مِنَ الْأَنْصَارِ فِي صَلَاةِ الْعَصْرِ نَحْوَ بَيْتِ الْمَقْدِسِ فَقَالَ هُوَ يَشْهَدُ أَنَّهُ صَلَّى مَعَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ، وَأَنَّهُ تَوَجَّهَ نَحْوَ الْكَعْبَةِ. فَتَحَرَّفَ الْقَوْمُ حَتَّى تَوَجَّهُوا نَحْوَ الْكَعْبَةِ.
al-Barā’ ibn ‘Āzib said: “The Messenger of Allah ﷺ prayed towards Bayt al-Maqdis [in Jerusalem] for sixteen or seventeen months, and the Messenger of Allah ﷺ loved to be turned towards the Ka‘bah. So Allah revealed: “We have certainly seen the turning of your face towards the heaven…” and he turned towards the Ka‘bah. The foolish among the people — they were the Jews — said: ‘What has turned them away from the qiblah they used to face?’ [Allah answered:] “Say: To Allah belong the east and the west. He guides whom He wills to a straight path.” A man prayed with the Prophet ﷺ, then went out after he had prayed, and passed by some people of the Anṣār who were praying ‘Aṣr towards Bayt al-Maqdis. He said that he bore witness that he had prayed with the Messenger of Allah ﷺ and that he had turned towards the Ka‘bah. So the people turned round, while still praying, until they faced the Ka‘bah.”
Sahih al-Bukhari 399Sahih
When? (Ar-Raḥīq al-Makhtūm): in Sha‘bān, 2 AH (February 624 CE) — sixteen or seventeen months after the Hijrah, as al-Barā’ says. Others — the majority view reported by Ibn Ḥajar — say mid-Rajab 2 AH (sixteen months after the Hijrah).
The verse الْآيَةُ

“So turn your face toward al-Masjid al-Ḥarām”

first qiblahthe qiblah from 2 AHRED SEAJerusalem بيت المقدسMadinah المدينةMakkah مكة
قَدۡ نَرَىٰ تَقَلُّبَ وَجۡهِكَ فِي ٱلسَّمَآءِۖ فَلَنُوَلِّيَنَّكَ قِبۡلَةٗ تَرۡضَىٰهَاۚ فَوَلِّ وَجۡهَكَ شَطۡرَ ٱلۡمَسۡجِدِ ٱلۡحَرَامِۚ وَحَيۡثُ مَا كُنتُمۡ فَوَلُّواْ وُجُوهَكُمۡ شَطۡرَهُۥۗ وَإِنَّ ٱلَّذِينَ أُوتُواْ ٱلۡكِتَٰبَ لَيَعۡلَمُونَ أَنَّهُ ٱلۡحَقُّ مِن رَّبِّهِمۡۗ وَمَا ٱللَّهُ بِغَٰفِلٍ عَمَّا يَعۡمَلُونَ ۝١٤٤
We have certainly seen the turning of your face, [O Muhammad], toward the heaven, and We will surely turn you to a qiblah with which you will be pleased. So turn your face toward al-Masjid al-Haram. And wherever you [believers] are, turn your faces toward it [in prayer]. Indeed, those who have been given the Scripture well know that it is the truth from their Lord. And Allah is not unaware of what they do.
Surat al-Baqarah 2:144سورة البقرة: ١٤٤

The people of Qubā’, too, turned round in the middle of the Fajr prayer as soon as the news reached them (al-Bukhari 403, from Ibn ‘Umar) — an example of obeying Allah immediately.

2 AH فَرَائِضُ جَدِيدَةٌ

New acts of worship

يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُواْ كُتِبَ عَلَيۡكُمُ ٱلصِّيَامُ كَمَا كُتِبَ عَلَى ٱلَّذِينَ مِن قَبۡلِكُمۡ لَعَلَّكُمۡ تَتَّقُونَ ۝١٨٣
O you who have believed, decreed upon you is fasting as it was decreed upon those before you that you may become righteous.
Surat al-Baqarah 2:183سورة البقرة: ١٨٣

Fasting Ramaḍān

The fast of Ramaḍān was made obligatory in the second year of the Hijrah.

Zakāt al-Fiṭr

The charity paid at the end of Ramaḍān was made obligatory in the same year.

Ar-Raḥīq al-Makhtūm: in 2 AH Allah made the fast of Ramaḍān and Zakāt al-Fiṭr obligatory, and the amounts of the other zakāt were explained.
Lessons دُرُوسٌ وَعِبَرٌ

What we learn

1

Living together

Clear, written rules helped different people live side by side in peace.

2

Care for the poor

The Masjid sheltered and taught those who had nothing.

3

Obey at once

When the qiblah changed, the believers turned immediately — even in the middle of a prayer.

Review مُرَاجَعَةٌ

Quick quiz

Score: 0 / 4
1.Who were the Anṣār?
Correct.
The Muslims of Madinah, from al-Aws and al-Khazraj.
2.What did Abū Hurayrah call the people of the Ṣuffah?
Right (al-Bukhari 6452).
“The guests of Islam.”
3.Towards which city did the Muslims pray before the qiblah changed?
Correct (al-Bukhari 399).
Jerusalem (Bayt al-Maqdis), for sixteen or seventeen months.
4.What did the people praying ‘Aṣr do when they heard the qiblah had changed?
Yes — they obeyed at once.
They turned round towards the Ka‘bah while still praying.

A community built on faith, brotherhood and justice

ṣallā Allāhu ‘alayhi wa sallam ﷺ

NEXT · Chapter 20: The Battle of Badr · غَزْوَةُ بَدْرٍ الْكُبْرَى

All chapters →