Surah Al-Anfal, ayah 63 (8:63)
Surah Al-Anfal · Madani · ayah 63 of 75 · in Readiness, peace, and hearts joined
Ponder Al-Anfal 8:63 in the app →وَأَلَّفَ بَيْنَ قُلُوبِهِمْ ۚ لَوْ أَنفَقْتَ مَا فِى ٱلْأَرْضِ جَمِيعًا مَّآ أَلَّفْتَ بَيْنَ قُلُوبِهِمْ وَلَـٰكِنَّ ٱللَّهَ أَلَّفَ بَيْنَهُمْ ۚ إِنَّهُۥ عَزِيزٌ حَكِيمٌ
“And brought together their hearts. If you had spent all that is in the earth, you could not have brought their hearts together; but Allāh brought them together. Indeed, He is Exalted in Might and Wise.”
Saheeh International
What does Surah Al-Anfal 8:63 mean?
Old enemies stood in one line: not bought, not organised, but joined by Allah, the Mighty who can overrule even a proud heart.
Reflections
The Mighty's hardest conquest was pride
For forty years, a grandmother kept one family's name off every guest list. Weddings, funerals, Eid lunches: never them. Her grandchildren no longer know what began it. They only know that you do not invite them.
Pride like that feels like character. It feels like loyalty to someone who was wronged once. And it feels permanent, because it has outlived the people it began with.
The first hearers of this ayah knew that pride on a tribal scale. The commentaries describe the Arabs of the time as the fiercest of people in their zeal. A man slapped once would be avenged by his tribe, who fought until the debt was settled. In Madinah, the two clans of the Helpers had fought wars that killed their chiefs and broke their skulls. Their hatred, one commentary says, had no limit and no end.
Then the ayah closes: innahu ʿazīzun ḥakīm, He is Mighty, Wise. One commentary draws the link. Among the signs of His might is His mastery of proud, defiant hearts, full of the old pagan zeal. Among the signs of His wisdom is how He ordered their affairs until affection grew between them.
That is a startling picture of might. We imagine strength as defeating an army. Here the Mighty is shown overruling something harder: the ego of a man who would rather die than forgive.
Does Allah name His might so that we will admire Him? He needs nothing from us: 'I do not want any provision from them' (51:57). The name is for the person who thinks their own grudge is beyond reach. It is not beyond His.
So be humble about the hardness in you, and hopeful about the hardness in others. It feels like rock. To the Mighty, it is clay.
Not a slogan about unity, and not a credit to the organisers
Most of us know this ayah as a warm line about brotherhood. It is quoted at conferences and printed on posters for community dinners. We hear in it something like: Muslims are one, so let us be united.
Read slowly, it says something more humbling. It does not describe Muslims in general. It describes a particular act on particular people. And it speaks to the leader in the second person: law anfaqta, had you spent.
That is the sharpest word in the ayah. The commentaries read it as said to the Prophet ﷺ, the most generous and persuasive of leaders. He is told: you could not have done this. Not with everything in the earth, jamīʿan, all of it together. One commentary adds that the words reach every reader. If he could not, no one could.
Notice which word is chosen. Not 'you could not have gathered them', but mā allafta bayna qulūbihim: you could not have joined their hearts. One commentary explains that hearts are named to show that joining them cannot be arranged, even when outward joining can. An invitation can seat bodies together. A timetable can share a meal. Hearts answer to neither.
So the ayah dislodges two assumptions at once. Unity is not automatic, a membership card that comes with a shared creed. And it is not the organisers' achievement, the reward for a good committee and a generous budget. It is a gift, given to particular hearts, and it can be lost.
Its sister ayah in Surah Al ʿImran gives the same gift as a memory to keep. 'He joined your hearts, and by His favour you became brothers' (3:103). The entry on that ayah looks at the rope believers are told to hold together. Here the same truth is told to the leader, at the height of victory, as a limit on what any leader can do.
Heard by the hearts it describes
This ayah was first heard by the very people it describes. They were in Madinah, not long after Badr. Many of them had stood in its lines side by side.
One of the Helpers, recalled in an early commentary, said of this ayah simply: it means the Ansar. The commentaries explain why. The Aws and the Khazraj had fought each other for generations. Then they believed, and became one people, sheltering and helping together. Another reading includes the Emigrants of Makkah with them, strangers joined to their hosts. Either way, the meaning is close.
Picture what it was like to hear it. A man of the Aws sits beside a man of the Khazraj. Their fathers may have faced each other in battle. Now they hear Allah describe their friendship as His act, and as something no fortune could have bought.
One commentary lists what changed between them. He removed the mutual loathing and hatred. He put love and affection in its place, and taught them to love and dislike for the sake of Allah. Another says they became, by His help, like a single soul.
There was a second sharpness in the ayah. Victory invites people to tell the story of their own courage. This ayah tells the victors a different story. The bond that held their line was not their discipline or their speeches. It was given.
A Companion of the Prophet ﷺ, asked about the ayah, gave its widest reach. It came down, he said, about those who love one another for Allah's sake. A classical compiler graded that report ṣaḥīḥ, and the commentaries preserve it.
So the first hearers were not the last. Whenever two people love each other for Allah, this ayah is describing them too. That includes the friend you thought of just now.
Composed, not melted
In a workshop off a narrow lane, a tile maker cuts hundreds of small pieces of glazed clay. Each has its own shape and colour: a green star, a white diamond, a blue sliver. She lays them face down in order on the floor. Then she pours the backing over them, and lifts the panel as one. No piece has lost its colour. The pattern exists only because each sits in its place.
That is close to the first picture in this ayah's verb. The lexicons say the root means joining one thing to another. One lexicon defines muʾallaf as what is gathered from different parts and set in order. What deserves to come first is placed first, and what deserves to come last is placed last. Another gives taʾlīf as joining a thing part to part, and notes that the composing of books takes its name from it. These senses are established.
So hearts joined, on this picture, are not hearts made identical. The Emigrant stayed an Emigrant, and the Helper stayed a Helper. What changed is that each now had a place in one composition.
Now look at how the ayah is itself composed. The verb comes three times. He joined between their hearts. You could not have joined between their hearts. But Allah joined between them. Two statements of His act enclose one statement of what could not be done. The impossible is held in the middle, surrounded by the fact.
And the third time, a word drops out. The first two say 'their hearts'. The last says only 'them'. One commentary reads it as joining them heart and frame alike. The inside was joined, and the outside followed.
The ayah then closes on two names. One concise commentary glosses ʿAzīz (the Almighty) as prevailing over His affair, and Ḥakīm (the All-Wise) as the One whose wisdom nothing escapes. The might did the joining. The wisdom chose where each piece would sit.
When you look at your family or your community, ask which you have been wanting: a melting, or a composition.
What money can seat, and what it cannot
A wealthy father books a large villa by the sea every summer for his four grown children and their families. He pays for the flights, the food and a cook. They arrive in separate cars, on different days. Two of them leave early. The photographs look wonderful.
He has bought them a place to be together. He has not bought them together. This ayah draws that line with unusual force.
Law anfaqta mā fī al-arḍi jamīʿan: had you spent all that is in the earth, all of it. One early commentary spells out what that means: its gold, its silver and its goods. Spent by your own strength, it adds, they still would not have joined their hearts. Another points to the depth of the enmity and the strength of its causes. Money cannot reach that far down.
This is not contempt for spending. The ayah just before praised spending in Allah's path (8:60). Elsewhere, a share of charity is named for 'those whose hearts are being brought near' (9:60). The word there comes from this very root.
One lexicon links the two ayat. Those whose hearts are being brought near, it explains, are people one tends with care. The hope is that they will become those whom Allah described in this ayah. So a gift can open a door. It can soften a stranger and make room for a heart to turn. But the gift draws near; it does not join. The joining is still not the giver's to command.
Workplaces spend fortunes on retreats and team days, and some of them help. Mosques fund dinners for newcomers, and some of those dinners change lives. But the moment when two people truly come to love each other is never on the invoice.
So spend, generously, on the people you want to be close to. Then ask Allah for what money cannot buy, because only He can give it.
Love that lasts follows what lasts
Two men become close while building a small business together. They speak every day, eat together and take their families away together. Then the business fails. Within a year they cannot be in the same room. Neither can quite explain what happened to the friendship.
One classical commentary offers an explanation, and it is uncomfortable. Love, it says, arises only when a person pictures some good in another. While that picture lasts, the love lasts. When the picture changes, aversion takes its place.
Then it divides the goods we love people for. Some are lasting and beyond change: goodness of the soul, and what brings a person near to Allah. Others are changeable, like wealth, rank and bodily pleasure. Those shift like quicksilver, it says, from one state to another. Love built on them shifts with them. It can turn to dislike, and back again, several times in one day.
The commentary applies this to the first hearers. Before the Prophet ﷺ came, the Arabs sought wealth, rank and boasting. Their bonds were built on those, so the slightest cause tipped them into war. When they were called to worship Allah and to the Hereafter, the cause of their love changed. So the love changed too, and it held.
Another ayah describes the end of the other kind: 'Close friends, on that Day, will be enemies to one another, except the mindful' (43:67).
This gives a practical test for every friendship you value. Ask what it rests on. If the answer is a shared project, a shared complaint or a shared rival, it will last as long as they do. If something in it is for Allah, it has roots below the weather. That might be a shared prayer, a shared kindness, or honesty when honesty costs.
You cannot manufacture that root, and the ayah says so plainly. But you can ask Him for it, and you can stop building only on sand.
Too small to matter?
An early teacher of the Quran once met a younger man and took his hand. He described two people who love each other for Allah. When they meet, and one takes the other's hand and smiles, their sins fall away like leaves from a tree.
The younger man was surprised. 'That is easy,' he said.
'Do not say that,' the teacher replied, and he recited this ayah. Had you spent all that is in the earth, you could not have joined their hearts. The younger man said later that he knew then the teacher understood more than he did.
The exchange is preserved in the commentaries as a report, and it turns on this ayah. The handshake looks small. What it expresses is something the earth's whole wealth could not buy. So its weight is measured not by the effort of the hand, but by the price of what it carries.
A hadith in al-Tirmidhi gives a similar promise. No two Muslims meet and shake hands, the Prophet ﷺ said, without being forgiven before they part. Al-Tirmidhi himself graded it ḥasan gharīb (good, with a single chain).
Picture two women who were inseparable at university and have barely spoken since a misunderstanding at a wedding. Years later they stand in the same row at a funeral prayer. Afterwards, in the crush at the door, one turns and holds out her hand. The other has a second to decide.
It is easy to think a reconciliation must wait for a long conversation, a full apology and a settling of every account. Sometimes it begins with a hand taken in a doorway. The deeper joining is Allah's work. The hand is yours.
Do not belittle the small gestures that keep hearts close: the greeting, the smile, the hand. They are tiny on the outside. On the inside, they carry what no fortune could.
Guard what is lifted first
Two families own the only two wedding-hall businesses on one ring road. If one lays out a garden, the other paves its lawn for parking. If one starts serving biryani, the other drops it from the menu. Neither family remembers deciding this. It is simply how rivals behave.
One classical commentary describes the two clans of Madinah in almost those terms. Between them, it says, lay the closeness of neighbours, which stirs up grudges and keeps envy and rivalry alive. The habit of any two groups like that is that each avoids whatever the other prefers. It dislikes it and recoils from it. Then Allah made them forget all of that, until they agreed on obedience and became helpers together.
That is a precise diagnosis for anyone who leads a group. Rivalry does not only make people hostile. It makes them define themselves against each other. They stop asking what is right, and start asking what the other side is doing.
The commentaries also preserve a sobering saying from the generation after the Companions. 'We used to be told that the first thing to be lifted from people is ulfa', familiar affection. If so, the joining this ayah describes is not a monument. It is a living thing that can be withdrawn.
So the leader's task is not to manufacture affection; the ayah has ruled that out. It is to guard it. Notice when your people begin choosing positions because of who holds the opposite one. Refuse to reward that. Put rivals on the same task. Praise one side's good in front of the other. And ask Allah, often, to keep what He gave.
Go back to the tile maker's panel. A finished panel rarely shatters all at once. It loosens one piece at a time, usually where it is knocked carelessly. Keep each piece pressed in its place. The composition was His; its care is yours.
A common misreading
Often heard: A general slogan that Muslims are automatically united, or praise for whoever organised them well.
Closer to the ayah: A particular act on particular hearts, told to the Prophet ﷺ himself: no spending could have done it. Unity is a gift from Allah, given to hearts, and it can be lost.
Often heard: Joined hearts means everyone becomes the same.
Closer to the ayah: In the root, to join is to compose: different parts gathered and set in order, each in its place. The Emigrant and the Helper stayed themselves inside one whole.
Words to know
وَأَلَّفَ wa allafa · the root ʾ-l-f
And He joined: a Form II verb, to join one thing to another and gather what was scattered. It occurs three times in this one ayah. The lexicons give ilf for a companion you have grown used to. They give taʾlīf for joining part to part, the word later used for composing books.
قُلُوبِهِمْ qulūbihim · the root q-l-b
Their hearts. The ayah names hearts twice, then drops the word. One commentary explains that hearts are named to show that joining them cannot be arranged, even when outward joining can. Another says only the One who owns hearts could do it, for He turns them as He wills.
أَنفَقْتَ anfaqta · the root n-f-q
You spent: a Form IV verb, to let something go out of the hand. Here it is a supposition, law anfaqta, had you spent. One early commentary fills in the picture: gold, silver and goods, everything in the earth, spent by your own strength.
Questions to sit with
- Which of my friendships rests mostly on something that will change, and what in it is for Allah?
- Where am I defining myself by opposing someone else's choices rather than by what is right?
- Which small gesture could I offer this week to someone I have grown distant from?
Live it today
Tonight, ask Allah by name to join your heart to one person you have drifted from. The next time you meet them, be the first to offer your greeting and your hand.
Echoes in the Quran
- Surah Ali 'Imran 3:103Its sister in Ali 'Imran keeps the same gift as a memory: He joined your hearts, and by His favour you became brothers.
- Surah An-Nur 24:43An-Nur uses the same verb for wisps of cloud joined into mountains. Clouds and hearts share it, and the Joiner is the same.
- Surah Az-Zukhruf 43:67Friendships not joined by Him end in enmity on that Day; only those of the mindful survive.
Come back to this ayah when you feel...
when a friend lets you down · when money and faith feel at odds · when you are nursing a grudge · when you are in a dispute · when choosing friends or role models · when you lead others
This ayah and other verses on the same subject
Names of Allah in this ayah
- al-Ḥakīm: The WiseNo wealth could have joined those old enemies' hearts; the Mighty overruled their pride, and the Wise chose where each would sit in the line.
- al-ʿAzīz: The MightyOld enemies stood in one line, joined by no money: the Mighty's hardest conquest was the proud heart, and the Wise composed them together.
The classical tafsir of this ayah
Tafsir al-Jalalayn · Tafsir Ibn Kathir (abridged) · Tafsir al-Tabari (abridged) · Tafsir al-Qurtubi (abridged) · Tafsir al-Sa'di
Read the whole surah
A gift on top of a gift: a reflection on all of Surah Al-Anfal, from its first ayah to its last.
Ponder Al-Anfal 8:63 in the app →In the app: the Mushaf, every word with its root, side-by-side tafsir, and your own private reflections. Free, no account, works offline.