The Madinan Years · 622–624 CE · 1–2 AH

مدينة النبي ﷺ

The City of the Prophet

A mosque rises from a date-floor; strangers are made brothers; a written covenant binds Muslim, pagan and Jew into one city — and the qiblah turns to Makkah.

Chapter 15 · 3 min read · 8 sources

And hold fast, all together, to the rope of God, and do not be divided — and remember God's favour upon you, when you were enemies and He joined your hearts, and by His grace you became brothers.

— Qur'an 3:103, Sūrat Āl ʿImrān

The Mosque

His first act was to build. The drying-floor where al-Qaṣwāʾ had knelt was bought from the two orphans — they offered it free; he insisted on the price — and on it rose the Prophet's Mosque: palm-trunk pillars, a roof of fronds, a floor of earth. He carried the bricks with his companions, and they chanted as they worked. Around it stood the small rooms of his household, and at its rear sheltered the Ahl al-Ṣuffah — the people of the bench, poor emigrants without house or family, living as students of the mosque itself.12

Here the community's form crystallised: five daily prayers in congregation, the Friday assembly, and — after a believer's dream confirmed by the Prophet ﷺ — the human voice rather than bell or horn calling to prayer. Bilāl, the slave who had gasped “Aḥad, Aḥad” under the boulder, was chosen as the first muezzin of Islam.31

The Brotherhood

The Emigrants — Muhājirūn — had arrived with nothing. The Prophet ﷺ paired each with one of the Anṣār, the Helpers of Madīnah, in a formal bond of brotherhood. The Anṣār's generosity astonished even its beneficiaries: Saʿd ibn al-Rabīʿ offered his brother ʿAbd al-Raḥmān ibn ʿAwf half of everything he owned. The emigrant's reply set the other half of the ethic: “May God bless you in your family and wealth — direct me to the market.” He died one of the wealthiest men in Islam, self-made in the market of Madīnah.41

The Covenant of Madīnah

The oasis the Prophet ﷺ now led was not a tribe but a patchwork — Emigrants, the Aws and Khazraj (still raw from a generation of civil war), pagan hold-outs, and three substantial Jewish tribes: Banū Qaynuqāʿ, Banū al-Naḍīr, and Banū Qurayẓah. He bound them in a written agreement, preserved by Ibn Isḥāq and reckoned by historians among the most remarkable constitutional documents of antiquity: the believers of Quraysh and Yathrib, and those who joined them, are “one community — ummah — to the exclusion of other men”; the Jews who adhere to it are “a community alongside the believers — to the Jews their religion, and to the Muslims their religion”; each must aid the other against attack on Yathrib; and disputes are referred “to God and to Muḥammad.”56

Not all of Madīnah submitted inwardly. ʿAbdullāh ibn Ubayy, the Khazrajite grandee whom the war-weary oasis had been about to crown king, professed Islam and nursed his grievance; around him gathered the munāfiqūn — the hypocrites — whose double game shadows the whole Madinan period of the Qur'an.16

The Qiblah Turns

For sixteen or seventeen months the Muslims had prayed toward Jerusalem. In Shaʿbān of the second year, in the middle of the noon prayer at a mosque of Banū Salimah, revelation turned the community bodily around: “Turn your face toward the Sacred Mosque; and wherever you may be, turn your faces toward it.”7 The congregation wheeled where they stood; the mosque is called Masjid al-Qiblatayn — the Mosque of the Two Qiblahs — to this day. In the same year, the fast of Ramadan was ordained, and the poor-due systematised: within two years of arriving as a refugee, the Prophet ﷺ presided over a community with its own worship, law, treasury, and direction of prayer — no longer a sect sheltering in an oasis, but a nation facing the House of Ibrāhīm.81

Sources & Further Reading

  1. 1

    Ibn Hishām, al-Sīrah al-Nabawiyyah — the building of the mosque, the brotherhood, and the covenant; tr. Guillaume, pp. 228–236.

    Classical sīrah
  2. 2

    Ṣaḥīḥ al-Bukhārī, Kitāb al-Ṣalāh — the building of the mosque and the purchase of the site (ḥadīth 428).

    Ḥadīth
  3. 3

    Sunan Abī Dāwūd, Kitāb al-Ṣalāh — the dream of ʿAbdullāh ibn Zayd and the institution of the adhān (ḥadīth 499).

    Ḥadīth
  4. 4

    Ṣaḥīḥ al-Bukhārī, Kitāb al-Buyūʿ — ʿAbd al-Raḥmān ibn ʿAwf and Saʿd ibn al-Rabīʿ (ḥadīth 2048).

    Ḥadīth
  5. 5

    The Ṣaḥīfah (Covenant of Madīnah), text preserved in Ibn Hishām; tr. Guillaume, pp. 231–233.

    Classical sīrah
  6. 6

    W. Montgomery Watt, Muhammad at Medina (Oxford, 1956), ch. 7 and Excursus — analysis of the Constitution of Medina.

    Modern study
  7. 7

    Qur'an 2:142–150, Sūrat al-Baqarah — the change of qiblah; Ṣaḥīḥ al-Bukhārī, Kitāb al-Īmān (ḥadīth 40).

    Qur'an
  8. 8

    Qur'an 2:183–185 — the ordinance of the Ramadan fast.

    Qur'an

See the full bibliography for the works cited across this sīrah.