The Story of the Three Apples
The Story of the Three Apples: In the golden city of Baghdad, during the reign of the great Caliph Harun al-Rashid, a mystery unfolded that would test the
Few tales in world literature carry the strange double honour borne by “The Story of the Three Apples.” It is, on the surface, a modest episode tucked inside the vast architecture of the Alf Layla wa-Layla — the One Thousand and One Nights — and yet scholars have long pointed to it as one of the earliest surviving murder mysteries in the history of storytelling. A locked chest, a dead woman, a deadline measured in days, and a confession that arrives from the most unexpected quarter: the ingredients are those of a modern crime novel, set down by anonymous Arabic storytellers centuries before the word “detective” entered any European language.
This retelling follows the tale as Scheherazade unfolds it to King Shahryar, preserving its grim suspense and its astonishing turns while drawing out the questions of jealousy, haste, and justice that have kept readers returning to it for a thousand years.
Origins and Canonical Attribution
“The Story of the Three Apples” belongs to the Alf Layla wa-Layla, the great cycle of Arabic tales whose narrator, the vizier’s daughter Scheherazade, postpones her own execution night after night by leaving each story unfinished at dawn. The Three Apples is among the oldest stratum of the collection: it appears in the fourteenth- to fifteenth-century Syrian manuscript that the French orientalist Antoine Galland used for the first European translation, Les Mille et Une Nuits (1704–1717). It is therefore not one of the later “orphan tales” (such as Aladdin or Ali Baba) whose textual history is disputed, but part of the authentic medieval core of the Nights.
In the printed Arabic tradition the tale is carried by the Calcutta II edition (the Macnaghten text, 1839–1842), the basis for the most famous unabridged English version, that of Sir Richard Francis Burton (The Book of the Thousand Nights and a Night, 1885), where it is titled “The Tale of the Three Apples” and occupies roughly the nineteenth through twenty-fourth nights. Edward William Lane had earlier rendered it in his influential 1840 translation. The tale’s setting is the Abbasid Baghdad of the historical Caliph Harun al-Rashid (reigned 786–809 CE), his vizier Ja’far the Barmecide, and his sword-bearer Masrur — a trio of real and legendary figures who recur throughout the Nights as the disguised rulers of the night-time city. In motif terms the story turns on jealousy, false evidence, and the wrongful death of an innocent wife, a cluster of themes catalogued in the international tale tradition under the broad heading of unjust accusation and rash judgement.

The Chest in the Tigris
It was the custom of Harun al-Rashid to walk his capital in disguise, that he might hear with his own ears what his subjects suffered and rejoiced in. One night, restless and heavy-hearted, he summoned his vizier Ja’far and said that they would go down among the people. With Masrur the executioner at their heels, the three crossed Baghdad in the dress of merchants and came at last to the bank of the Tigris, where they saw an old fisherman casting his net into the dark water and drawing it up empty, again and again.
The Caliph, moved by the man’s weariness, promised him a hundred gold dinars for whatever the next cast should bring. The fisherman flung his net, hauled with all his strength, and brought to shore a heavy chest, locked and bound. Harun paid the price gladly and had the chest carried back to the palace. When it was broken open by lamplight, every man present fell back in horror: inside, wrapped in a costly carpet, lay the body of a young woman, cruelly slain and cut to pieces.
The Caliph’s grief turned at once to fury. That such a crime could be committed in his city, against an innocent woman, struck at the very root of his authority as the guardian of justice. He turned upon Ja’far and laid on him a terrible charge: the vizier must discover the murderer and bring him to account within three days, or else Ja’far himself would hang in the criminal’s place. It was a sentence as unjust as the murder it sought to avenge — and the tale knows it, for the whole drama that follows is built upon the cruelty of judging in haste.

Ja’far’s Deadline and the Two Confessions
Ja’far went out into Baghdad, but he had no thread to follow, no witness, no name. The dead woman was a stranger; the chest told nothing. Three days passed while the vizier shut himself in his house in despair, and on the fourth he was led before the Caliph and condemned. The gallows was raised, a crier was sent through the streets to summon the people to the spectacle of the vizier’s death, and Ja’far — innocent of any crime — was brought out to die for failing to perform an impossible task.
Then the tale delivers its first great reversal. As the noose was being made ready, a handsome young man pushed through the crowd and cried out that he, and he alone, was the murderer; he begged that the vizier be released and that he be put to death in his stead. Before the astonished officers could act, an old man forced his way forward and swore that the youth lied to shield him, that he himself was the killer, and that justice demanded his blood. Each man insisted upon his own guilt; each pleaded to be hanged so that the other might live.
Harun al-Rashid, baffled, ordered both brought before him. The young man settled the matter with a single, dreadful proof: he described the murdered woman, her chamber, and the manner of her death so exactly that no one could doubt him. The old man, he revealed, was the dead woman’s own father, an innocent man trying to trade his last years for the life of his daughter’s husband. The Caliph commanded the youth to tell, from the beginning, how so terrible a thing had come to pass.

The Young Man’s Tale: The Three Apples
The young man’s confession is the heart of the story, and it is here that the apples give the tale its name. The murdered woman, he said, had been his wife and the mother of his children — his cousin, gentle and beloved, the dearest thing he possessed. One year she fell gravely ill, and in her sickness she longed for an apple, that she might hold it and breathe its scent. He searched every market of Baghdad and found none, for it was out of season.
Hearing that the orchards of the Caliph in distant Basra kept rare fruit through the year, he made the long journey there and back — fifteen days upon the road — and returned with three apples, bought from the keeper of the royal garden for the great price of three gold dinars. He set them by his wife’s side, but her illness had deepened and she took no comfort in them, and so the apples lay forgotten in her room.
Some days afterward, walking through the city, the husband passed a black slave carrying an apple in his hand. He asked where so fine an apple had been found, and the slave answered, laughing, that his mistress had given it to him — that her foolish husband had travelled all the way to Basra and paid three dinars for three apples to please her, and that she had passed one on to her lover. The words went into the husband’s heart like poison. He hurried home, searched his wife’s chamber, and found only two apples where there had been three.
He demanded to know where the third had gone, and his wife, weak with fever, could not tell him. In that instant, blind with jealousy and certain of her betrayal, he drew his knife and killed her — the wife he loved, the mother of his children — and in his frenzy cut her body to pieces, bound it in the carpet, sealed it in the chest, and cast it by night into the Tigris. He had murdered her, and the river had carried the evidence to the Caliph’s own hands.
But the tale was not finished. When the husband returned to his house, his eldest son was weeping. The boy confessed that he had taken one of the three apples to play with, that a passing slave had snatched it from him in the street, and that the slave had refused to give it back though the child told him it had been bought in Basra for his sick mother. The husband understood, too late, the full weight of what he had done. His wife had been wholly innocent. The slave’s boast had been an idle, cruel invention. He had destroyed everything he loved over a single piece of fruit carried off by a child.

The Truth, the Slave, and the Caliph’s Mercy
Harun al-Rashid listened to the young man’s confession with wonder and pity. Here was a murderer who had killed not from greed or hatred but from a love so possessive it could not survive a single lie — and who now begged for death as the only relief from his guilt. Yet the Caliph’s sense of justice fixed not on the grieving husband but on the true author of the disaster: the slave whose careless boast had set the killing in motion.
And so the Caliph turned once more upon Ja’far, with the same impossible command and the same threat: find the treacherous slave within three days, or hang. Again Ja’far searched and again found nothing, and again, on the appointed day, he was brought out to die. As he embraced his small daughter in what he believed was his last farewell, he felt a round object hidden in her dress. He drew it out — it was an apple, and written upon it was the name of the Caliph’s own gardens.
The child told him innocently that she had bought it for two dinars from their household slave, a man named Rayhan. Ja’far questioned the slave, who confessed at once: he had indeed snatched an apple from a weeping child in the street, paying no heed to the boy’s words about a sick mother in Basra, and had carried it home and sold it on. The whole tragedy — the dead wife, the chest in the river, the husband’s ruin — traced back to a thoughtless theft by a servant in Ja’far’s own house.
Ja’far brought the slave Rayhan before the Caliph and told the astonishing chain of coincidence: that the very crime he had been ordered to solve had been committed, unknowing, by a man under his own roof, and uncovered through his own daughter. Harun al-Rashid was so amazed by the workings of fate that his anger melted into marvel. He pardoned the grieving husband, whose punishment was already greater than any the law could impose, and — in the most generous editions of the tale — pardoned even the slave, while Ja’far, to complete his reconciliation with his master, offered to tell the Caliph a tale yet more wonderful still. So one story opens into the next, in the endless chain that is the genius of the Nights.
The Moral: Jealousy, Haste, and the Cost of a Closed Mind
“The Story of the Three Apples” is, beneath its suspense, a sustained meditation on the danger of judging before one knows. Three times the tale shows a powerful or passionate man condemning on the strength of too little: the husband kills his wife on the word of a stranger; the Caliph twice sentences his loyal vizier for a crime Ja’far never committed. Each rash judgement is shown to be monstrous, and the plot exists precisely to expose how thin the “evidence” behind each one really was. The husband’s jealousy is not portrayed as love’s excess but as love’s failure — a refusal to ask, to wait, to trust. An old Arabic proverb, often quoted of exactly this kind of disaster, sums up the lesson the tale dramatizes:
العَجَلَةُ مِنَ الشَّيْطَانِ وَالتَّأَنِّي مِنَ الرَّحْمَٰنِ
“Haste is from the devil, and patience is from the Merciful.” The husband’s tragedy is the proverb made flesh: a single hour’s patience — one question put gently to a feverish wife, one moment’s doubt of a slave’s laughing boast — would have saved a life, a family, and his own soul. The tale does not excuse him, but it makes his ruin so complete that the reader feels the warning in the bone: suspicion acted upon in haste devours the one who holds it.
Why the Tale Has Lasted
Modern critics have given “The Story of the Three Apples” a special place in literary history. It is frequently described as one of the earliest “whodunit” murder mysteries — a narrative organised around a corpse, a question (“who killed her?”), and a deadline. Yet it is a mystery with a startling structure: there is no detective hero, no chain of deduction, and the solution arrives not through clever reasoning but through confession and coincidence. For this reason some scholars call it a “backwards” or “anti-detective” story — it has the shape of crime fiction long before crime fiction had rules, and it withholds the very thing the modern genre prizes most, the triumph of reason.
That difference is itself the source of its enduring power. The tale is less interested in how the puzzle is solved than in why the crime occurred — in the fragile psychology of a jealous mind and the terrible distance between a careless word and its consequences. It also showcases the Nights’ signature device of nested storytelling, in which a tale told to win mercy contains another tale told to win mercy, mirroring Scheherazade’s own struggle to survive by storytelling. Argentine writer Jorge Luis Borges and many later critics returned to this tale precisely because it dramatizes the Nights’ deepest theme: that a story, well told at the right moment, can hold back death itself. A thousand years on, the locked chest still opens upon the same hard truth — that justice and love alike are destroyed by the refusal to wait for the truth.
Frequently Asked Questions
Why is “The Story of the Three Apples” considered one of the first murder mysteries?
The tale is built around the discovery of a murdered woman’s body, an explicit question of who killed her, and a strict deadline for solving the case — the structural skeleton of modern crime fiction. Because it appears in the medieval core of the One Thousand and One Nights, centuries before the detective story emerged in nineteenth-century Europe, literary historians often cite it as one of the earliest surviving “whodunit” narratives, even though it resolves the crime through confession rather than detection.
Was Caliph Harun al-Rashid a real historical figure?
Yes. Harun al-Rashid was a genuine Abbasid caliph who ruled from Baghdad between 786 and 809 CE, during a celebrated peak of Islamic civilisation. The Nights transform him into a semi-legendary character who roams his capital in disguise with his vizier Ja’far the Barmecide and his executioner Masrur, dispensing justice and uncovering hidden lives — a fictional portrait inspired by, but not bound to, the historical ruler.
What part do the three apples actually play in the story?
The apples are the small, ordinary objects on which an entire tragedy turns. A husband travels to Basra and pays three gold dinars for three rare apples to comfort his sick wife. When one apple goes missing and a boasting slave claims it was a gift from a married woman to her lover, the husband assumes his wife is unfaithful and kills her. The apples show how a trivial thing, joined to jealousy, can become an instrument of ruin.
Is there a detective who solves the crime?
No — and that is what makes the tale unusual. The vizier Ja’far is ordered to find the killer but never investigates successfully. The murderer is revealed only when the grieving husband confesses voluntarily to save Ja’far’s life, and the slave who triggered the tragedy is exposed by sheer coincidence through Ja’far’s own daughter. The story has the form of a mystery but resolves through conscience and fate rather than deduction.
What is the moral of “The Story of the Three Apples”?
The tale warns against jealousy and against judging in haste. The husband destroys his innocent wife on the strength of a stranger’s idle boast, and the Caliph twice condemns his loyal vizier for an impossible failure. Both rash judgements are shown to be catastrophic. The lesson, echoed in the Arabic proverb that haste belongs to the devil and patience to the Merciful, is that suspicion acted upon without proof devours everyone it touches.