Short answer. Islam did not abolish slavery outright — and any honest treatment has to say so plainly. What it did was inherit a practice that every ancient society already took for granted and steadily bend it toward freedom: narrowing who could be enslaved, turning the freeing of slaves into an act of worship, and threading release through charity, expiation and contract law.

The objection, stated honestly

The charge is straightforward, and it is true as far as it goes: the Quran and the Prophet ﷺ did not command the immediate, total abolition of slavery. Enslaved people existed in the earliest Muslim community; Islamic law addressed their status, their rights, and their release, but it did not simply outlaw the institution. A reader who expects a clean, one-line prohibition — the way the Quran flatly forbids, say, usury or the killing of infant daughters — will not find one for slavery. That absence is real, and pretending otherwise would be dishonest. The serious question is not whether slavery existed under Islam. It did. The question is what Islam actually did with the institution it found already in place.

The world Islam was born into

Slavery in the seventh century was not a Muslim invention or an Arabian peculiarity. It was a near-universal feature of the pre-modern world — woven into the economies and laws of the Roman and Byzantine empires, of Persia, of India and China, of sub-Saharan Africa, and of the Mediterranean basin for centuries before Islam. Reputable reference works describe it as common across pre-Islamic and contemporary societies alike, an institution the new faith encountered fully formed rather than one it created.678

This context does not excuse slavery, and it is not offered as an excuse. It matters because it frames the real historical question correctly. The choice in front of the earliest community was never "slavery or a modern human-rights order." It was: given a total institution that no surrounding society questioned, in which direction do you move it?

What Islam changed immediately: freeing a slave as worship

The most visible change was to make the freeing of a slave one of the highest acts a believer could perform — not a neutral transaction but a route to God. The Quran ranks it among the deeds that carry a person up the "difficult pass" of righteousness:

"And what can make you know what is [breaking through] the difficult pass? It is the freeing of a slave."

— Quran 90:12-13 (Saheeh International)1

Manumission was not left as a vague ideal; it was built into the machinery of law and worship. Freeing a believing slave is set down as the expiation for grave wrongs — for example, for taking a believer's life by mistake:

"And whoever kills a believer by mistake — then the freeing of a believing slave and a compensation payment presented to the deceased's family [is required]..."

— Quran 4:92 (Saheeh International)2

It was written into the community's finances, too. When the Quran lists the eight categories that obligatory charity (zakat) may be spent on, "freeing captives" stands among them — a permanent public fund dedicated, in part, to buying people out of bondage:

"Zakah expenditures are only for the poor and for the needy and for those employed to collect [zakah] and for bringing hearts together [for Islam] and for freeing captives and for those in debt and for the cause of Allah and for the [stranded] traveler..."

— Quran 9:60 (Saheeh International)3

And the law gave the enslaved person a route to buy their own freedom. Under the mukatabah (a contract of self-purchase), a slave could require their owner to agree terms for emancipation:

"And those who seek a contract [for eventual emancipation] from among whom your right hands possess — then make a contract with them if you know there is within them goodness..."

— Quran 24:33 (Saheeh International)4

Radical rules of dignity

Alongside the exits, the Prophet ﷺ overturned the status of the enslaved person in a way that was startling for its time — insisting the slave was a brother or sister, not a thing:

"Your slaves are your brothers and Allah has put them under your command. So whoever has a brother under his command should feed him of what he eats and dress him of what he wears. Do not ask them to do things beyond their capacity, and if you do so, then help them."

— Sahih al-Bukhari 305

The narrator of that report, Abu Dharr, is described in it wearing the same cloak as his servant — a small, deliberate picture of the equality the teaching demanded. Feed them what you eat; clothe them in what you wear; do not overburden them. This is not the language of property.

The direction of the legislation

Individually these are reforms. Read together, scholars argue, they form a direction — a trajectory that narrows the institution at one end while widening the doors out of it at the other. The academic Jonathan A. C. Brown, whose Slavery and Islam (Oneworld, 2019) is a standard scholarly treatment of the subject, sets out how Islamic law both assumed the existence of slavery and worked to regulate, restrict and erode it — closing off routes into bondage, honoring emancipation as piety, and supplying the theological materials that later Muslims used to argue for abolition.7 The sources of lawful enslavement were narrowed to a restricted category rather than left open, and manumission was elevated to a meritorious act of worship — an act, and a bias toward freedom, that reference scholarship on Islamic slavery describes in the same terms.68

The metaphor scholars reach for is a system engineered to leak: enslavement made harder to enter, release made easier and holier to grant, until the institution was steadily drained rather than frozen in place.768

Bilal: the direction made flesh

If you want the trajectory in a single life, look at Bilal ibn Rabah. Born to an enslaved Abyssinian mother, Bilal was tortured by his Meccan owner for accepting Islam — pinned under the desert sun with a stone on his chest — and refused to recant, repeating only "One, One" of God. Abu Bakr bought him and set him free. And then the community that had been founded partly by former slaves gave Bilal the highest honor of its public life: the Prophet ﷺ chose him as the first muezzin, the voice that called the whole city to prayer. A man who had been another man's property now stood above the Ka'bah and summoned Mecca to worship. You can read more of that early community in the life of the Prophet.

The honest close: abolition as fulfillment, not betrayal

None of this makes the history simple, and the sensitive thing is not to pretend it does. Muslims across the centuries stood on different sides of the question. Some moved early and decisively: Tunisia, under Ahmad Bey, abolished slavery in stages between 1841 and 1846 — among the first states anywhere in the world, and the first in the Muslim world, to do so, ahead of several European powers.9 Others resisted, and religious authorities were sometimes among those who defended the institution by pointing to the classical law that permitted it.76 The tradition, in short, contains both the leaders and the laggards of abolition; it would be false to claim only one.

But the trajectory of the sources points in one direction, and that is where Muslims today overwhelmingly stand. When the Muslim world abolished slavery, it was not repudiating its scripture but completing a movement its scripture had begun — reading the freeing of the slave, ranked in the Quran among the highest deeds, as the destination the whole law had always been traveling toward. Abolition, on this reading, is the fulfillment of the tradition, not a betrayal of it.

See also What is sharia, really? and Does Islam oppress women?.