← Back

Learn · Belief & understanding

Madinah.
How strangers were welcomed.

The Muslims who migrated from Makkah to Madinah had left homes, work and family behind. They arrived as strangers. The people of Madinah didn’t just let them stay. They loved them, shared with them and called them brothers. If you are new and finding your feet in a community, this story is for you, and for the people welcoming you.

On this page

Two kinds of sacrifice

When persecution in Makkah became too much, the Muslims migrated to Madinah. They became known as the Muhājirūn, “the emigrants”. Many left property, businesses and family behind.

The Muslims of Madinah became known as the Anṣār, “the helpers”. They had homes, farms, local knowledge and friends. They had pledged to protect the Prophet ﷺ, and now they had to make room for a whole community of newcomers.

The Qur’an honours both groups side by side. First the emigrants:

The poor emigrants who were driven from their homes and possessions, who seek God’s favour and approval, those who help God and His Messenger- these are the ones who are true- – Qur’an 59:8 (Abdel Haleem)

Then the people who received them:

Those who were already firmly established in their homes [in Medina], and firmly rooted in faith, show love for those who migrated to them for refuge and harbour no desire in their hearts for what has been given to them. They give them preference over themselves, even if they too are poor: those who are saved from their own souls’ greed are truly successful. – Qur’an 59:9 (Abdel Haleem)

Becoming Muslim today isn’t the Hijrah. The emigrants were driven out by persecution, in a once-only moment the Qur’an itself honours. But the story can still speak to you. If you left something behind to become Muslim, your sacrifice echoes the emigrants’. If you are the one making room for a newcomer, yours echoes the helpers’. Both are seen.

Arriving: the mosque first

There were really two mosques, one after the other. While the Prophet ﷺ stayed among the clan of Banū ʿAmr ibn ʿAwf at Qubāʾ, on the edge of Madinah, he established a mosque there: the Mosque of Qubāʾ, the first mosque built after the Hijrah. He kept going back to it afterwards: Ibn ʿUmar said he “used to go to the Mosque of Quba every Saturday (sometimes) walking and (sometimes) riding” (Ṣaḥīḥ al-Bukhārī 1193). Only then did he move into the centre of the city and build the Prophet’s Mosque.

The Companion Anas described that second step. After staying fourteen nights at Qubāʾ (the sīrah books give other figures too), the Prophet ﷺ rode into the city surrounded by the clan of Banū al-Najjār, and dismounted at the house of Abū Ayyūb, where he stayed. Then he asked for a mosque to be built. The owners of the land said: “No! By Allah! We do not demand its price except from Allah.” The site had palm trees, uneven ground and old graves; it was cleared and levelled, and the Companions carried stones to build it, with the Prophet ﷺ among them as they worked (Ṣaḥīḥ al-Bukhārī 428).

The books of sīrah (the life of the Prophet ﷺ) add that the land belonged to two orphans, and that he arranged to pay for it rather than simply take it.

Notice the order. In both places, the mosque came before his own home. His rooms were built beside it afterwards, small and simple, as they were needed. Before anything else, the new community had a shared place to pray, learn and meet. It became the centre of everything: worship, teaching, advice, welcoming visitors and looking after those in need.

For you: if you are new, the mosque is meant to be the place where you belong too. If it doesn’t feel that way yet, see your first visit to a mosque and finding community.

Pairing newcomers with hosts

Then the Prophet ﷺ did something remarkable. He paired the emigrants with the helpers as brothers (muʾākhāh, “making brotherhood”). It wasn’t a slogan. Each newcomer now had someone in Madinah who was personally responsible for him, and each host had someone to care for.

The bond was so strong that, in those early days, it even affected inheritance. Ibn ʿAbbās explained: “When the emigrants came to the Prophet (ﷺ) in Medina, the emigrant would inherit the Ansari while the latter’s relatives would not inherit him because of the bond of brotherhood which the Prophet established between them.” Then the verse “To everyone We have appointed heirs” (Qur’an 4:33) was revealed and cancelled that, while the pledge “remained valid regarding cooperation” and advice (Ṣaḥīḥ al-Bukhārī 2292; also 4580). Inheritance went back to family. The duty to help and advise one another stayed.

Saʿd’s offer and ʿAbd al-Raḥmān’s reply

The best-known pair was ʿAbd al-Raḥmān ibn ʿAwf, an emigrant, and Saʿd ibn al-Rabīʿ, a man of the Anṣār. ʿAbd al-Raḥmān told the story himself. Saʿd said to him: “I am the richest among the Ansar, so I will give you half of my wealth.” He even offered, if ʿAbd al-Raḥmān wished to marry, to divorce one of his two wives so that, once her waiting period was over, ʿAbd al-Raḥmān could marry her.

ʿAbd al-Raḥmān answered: “I am not in need of all that. Is there any marketplace where trade is practiced?” Saʿd pointed him to the market. ʿAbd al-Raḥmān began trading in dried yoghurt and butter, kept going back, and before long he was able to marry a woman of the Anṣār (Ṣaḥīḥ al-Bukhārī 2048).

Saʿd’s offer about his wives belongs to that extraordinary moment: a man giving everything he could think of to a brother who had arrived with nothing. It shows the depth of his generosity. It isn’t a model for anyone to copy literally today, and no one should ever offer, or be offered, a spouse as a kindness. ʿAbd al-Raḥmān himself turned it down.

Two virtues meet in this one story:

  • Saʿd’s generosity. He offered far more than a token gift, and he didn’t see the newcomer as a threat.
  • ʿAbd al-Raḥmān’s dignity. He didn’t refuse rudely or accept everything. He gently declined, asked for an opportunity, and worked to stand on his own feet.

Neither cancels the other. A healthy community needs people willing to give and people helped to become independent. And it should never shame someone who genuinely needs help or can’t work.

Preferring others (īthār)

The quality the Qur’an praises in the Anṣār is called īthār: preferring someone else over yourself, even when you have needs of your own. Ordinary generosity gives what you can spare. Īthār gives what you could have used.

Look closely at what Qur’an 59:9 praises. Not only that they gave, but that they:

  1. loved those who came to them,
  2. felt no resentment about what the newcomers received, and
  3. gave them preference, even though they were poor themselves.

That second point matters. When the emigrants started trading and doing well, the helpers didn’t treat their success as something taken from them. Welcome is not only in the hands; it is in the heart.

Īthār never means neglecting the people you’re responsible for. The Prophet ﷺ said: “The best charity is that which is practiced by a wealthy person. And start giving first to your dependents” (Ṣaḥīḥ al-Bukhārī 1426). So preferring others doesn’t mean leaving your own family short, wrecking your health, giving away money you need for bills, or putting yourself in danger by taking in someone you don’t know. It works within what is responsible, fair and safe.

What this says to you as a new Muslim

  • You are not a burden. The first Muslims arrived with nothing, and the Qur’an praises the people who welcomed them. Asking for help is not shameful.
  • Thank people, and pray for them. A kind word and a duʿāʾ for those who help you are a gift in return.
  • Ask for the market, not only the gift. If what you need is a job lead, a skill, a lift to a class or someone to practise reading with, it’s fine to say so.
  • Your turn will come. Many reverts who were welcomed go on to welcome others.

What a welcoming mosque could do

If you help run a mosque or community, here is a checklist. It isn’t a programme the Prophet ﷺ laid down; it’s our own modern application, inspired by what happened in Madinah:

  1. Make the mosque the welcome. Have a named person new Muslims can ask for, and a regular beginners’ class. See how to help a new Muslim.
  2. Pair people up, safely. Match each new Muslim with a trusted, same-gender buddy who checks in regularly, prays with them and answers questions. Build in proper safeguarding:
    • Vet buddies: people known to the mosque, with references, and the background checks your country expects for volunteers working with adults at risk or with young people.
    • Ask, don’t assign. The new Muslim chooses whether they want a buddy, can ask for a different one, and can stop at any time.
    • Set boundaries. Buddies support, they don’t direct: no handling money, no lending or borrowing, no marriage introductions, no being alone behind closed doors, no pressure about family or lifestyle.
    • Keep confidences, except where someone is at risk of harm.
    • Have someone to report to. Name a safeguarding lead the new Muslim and the buddy can both go to with a concern, and know when to involve the police or social services.
  3. Meet practical needs. Some reverts lose family support, housing or work. Know where to point them: our directory and support page list organisations that help.
  4. Open the market. Help with job leads, CVs, skills and contacts, so newcomers can stand on their own feet with dignity.
  5. Feed people. Invite new Muslims home for a meal, for iftar in Ramadan and for ʿĪd. Loneliness is one of the hardest parts of becoming Muslim.
  6. Check your hearts. Be glad when newcomers do well, teach, or are given responsibility. No resentment, no “we were here first”.
  7. Don’t rush or pressure. Give time, privacy and choices. Never push marriage, money or cutting off family.

In short

  1. The Prophet ﷺ built the mosque before his own home: a shared place to belong came first.
  2. He paired newcomers with hosts as brothers, with real responsibility for each other.
  3. Saʿd offered generously; ʿAbd al-Raḥmān thanked him and asked for the market. Both were right.
  4. The Anṣār loved, felt no resentment, and preferred others even when poor.
  5. Every community can still do this today.

Last reviewed 16 November 2026

← Back