The People of the Ditch in the Qur’an and Sahih Muslim

An empty road through dark trees at dusk

By Dr. Malik Sherjeel Awan, PsyD · Last checked 22 November 2026 · Confirm religious details with a qualified scholar

Published by Dr. Malik Sherjeel Awan, Makkah

Surah al-Buruj opens with an oath, then names a crime: believers were burned in a ditch of fire while their persecutors sat and watched. A long report in Sahih Muslim tells a related story of a boy, a monk, a magician and a king. This article reads the verses in Sahih International and summarises that hadith from the text on sunnah.com. It does not add later history, and it does not map the story onto today’s news. For other accounts of steadfast faith, see the People of the Cave and patience (sabr).

The verses

“By the sky containing great stars and [by] the promised Day and [by] the witness and what is witnessed, cursed were the companions of the trench [containing] the fire full of fuel, when they were sitting near it and they, to what they were doing against the believers, were witnesses. And they resented them not except because they believed in Allah, the Exalted in Might, the Praiseworthy, to whom belongs the dominion of the heavens and the earth. And Allah, over all things, is Witness. Indeed, those who have tortured the believing men and believing women and then have not repented will have the punishment of Hell, and they will have the punishment of the Burning Fire. Indeed, those who have believed and done righteous deeds will have gardens beneath which rivers flow. That is the great attainment.” (Qur’an 85:1–11, Sahih International)

Several points stand in the wording itself:

  • The only reason named for the resentment is that the victims “believed in Allah.”
  • Allah is named as Witness over what was done.
  • A door of repentance is still mentioned for those who tortured and then repented.
  • The end of the believers is not the ditch; it is “the great attainment” of gardens.

This page will not use the passage to comment on any government or on current conflicts. The verses are a warning and a consolation in the terms they already use.

The hadith of the boy, the monk and the king

Suhaib reported that the Messenger of Allah ﷺ told of a king, in the time of those who came before, who had a court magician. When the magician grew old, he asked for a boy to be trained in magic. On the way, the boy sat with a monk, was impressed by his talk, and began to arrive late. The magician beat him. The monk told him what to say to each side so that he could keep learning from both, until a huge beast blocked the road. The boy prayed: if the monk’s affair was dearer to Allah than the magician’s, Allah should cause the animal’s death so that people could pass. He threw a stone, the animal died, and the monk told him that he had now reached a point of trial, and that if he were tried he should not give the monk away (Sahih Muslim 3005).

The boy then began to treat the blind and those with leprosy, and to cure illness. He told a companion of the king who had gone blind: “I myself do not cure anyone. It is Allah Who cures,” and he asked the man to affirm faith in Allah. The man believed, was cured, and later named Allah as his Lord before the king. Under torment, clues were given. The monk, when brought, refused to turn from his religion and was killed. The boy, when brought, also said that he did not cure anyone; it is Allah who cures (Sahih Muslim 3005).

The report on sunnah.com is longer than this summary. It includes further trials of the boy and, near the end, the boy’s instruction to the king: the king would only be able to kill him by shooting an arrow after saying, “In the name of Allah, the Lord of the boy.” The king gathered the people, did so, and the boy died. The people then said, “We believe in the Lord of the boy.” The king, facing the very thing he had feared, ordered ditches to be dug in the streets, fires to be lit, and those who would not turn from their religion to be thrown in. A woman came with her child and hesitated; the child said to her: “O mother, be patient, for you are upon the truth.” (Sahih Muslim 3005)

Please read the full English and Arabic on sunnah.com (Muslim 3005). This article does not replace the hadith, and it does not fill gaps with unsourced detail.

What to take from it

The boy’s words return to the same point: healing is from Allah, not from the healer. That is close to trust in Allah. The monk’s courage, the boy’s public instruction, the people’s sudden faith, and the child’s words to his mother are all about remaining upon the truth when it is costly. The Qur’an still mentions repentance for persecutors who turn back, which is a warning not to close a door Allah has left open.

None of this is a call to any illegal act, and none of it is a comment on living under any particular state. It is a recitation of a revealed passage and an authentic report, offered for reflection. If a trial in your own life needs a ruling, ask a qualified scholar, and stay within the law.

FAQ

Is the hadith the same event as Surah al-Buruj?
Sahih Muslim places the report under a chapter named for the people of the ditch, the magician, the monk and the boy. How every detail lines up with the verses is a question for scholars. This page presents both sources and does not force a complete identification.

Should this story be read as a comment on current events?
No. This article will not do that.

Is the full hadith in this post?
No. Only a summary from the sunnah.com text. Read Muslim 3005 in full.

Where can I learn how this site uses hadith?
See the hadith library.

Related reading

General information only, not a fatwa. Qur’an and Sahih hadith take priority. Ask a qualified scholar about religious details.

Sources

  • Qur’an, Sahih International, checked 22 November 2026: 85:1–11
  • Hadith: Sahih Muslim 3005 (Suhaib; the story of the people of the ditch, the magician, the monk and the boy) https://sunnah.com/muslim:3005