General Context
David, peace be upon him, was in his sanctuary, the place where he worshiped and withdrew into solitude. Allah had already described him as a strong servant who constantly turned back to Him, had subjected the mountains and the birds to join him, had strengthened his kingdom, and had given him wisdom and decisive speech. Then the two disputants came in upon him by an unfamiliar route. They did not come through the door set aside for visitors or wait until the court was in session. Instead, they scaled the wall of the sanctuary and suddenly appeared in a place where one would expect quiet, guards, and privacy.
This verse portrays the moment when David went from the quiet of solitude to the shock of intrusion, from glorifying Allah in his sanctuary to facing the pressure of a dispute: ﴿إِذۡ دَخَلُواْ عَلَىٰ دَاوُۥدَ فَفَزِعَ مِنۡهُمۡ﴾ (“When they entered upon David and he was alarmed by them” · 38:22).
Alarm here is a natural human response to a suspicious scene: men suddenly appear over the top of the wall in a guarded place instead of coming by the usual route. This alarm in no way called into question the courage of David, whom Allah had described a few verses earlier as ﴿ذَا ٱلۡأَيۡدِ﴾ (“the possessor of strength” · 38:17). It was, rather, the soul’s immediate response to the possibility of sudden danger.
Al-Ṭabarī said: “He was alarmed by the two of them because they came in upon him by a way other than the door through which people ordinarily came to him. Their entering upon him in that manner startled him. It has also been said that he was alarmed by them because they came in upon him at night, outside the time when he heard disputes between people.”
Jāmiʿ al-Bayān ʿan Taʾwīl Āy al-Qurʾān — Abū Jaʿfar Muḥammad ibn Jarīr al-Ṭabarī.[1]
Innate fear neither contradicts prophethood nor rules out reliance on Allah. Prophets are human: they recognize sources of danger and safeguard their lives, on which the interests of the prophetic mission and the community depend. Courage is not the absence of that first emotional response, but the soul’s ability to regain its composure and not let alarm dictate its decision.
Ibn ʿĀshūr said: “Alarm is fright, an emotional response that visibly unsettles a person who expects some hardship or is taken by surprise […] Fear is an innate response that Allah has placed in human souls when they see something unwelcome. No human soul is free of its first stirrings. That reaction comes over the soul at the very outset; then the steadiness of courage sets in and drives it away.”
al-Taḥrīr wa-l-Tanwīr — Muḥammad al-Ṭāhir Ibn ʿĀshūr.[2]
When the two men saw the effect their sudden arrival had on him, they hurried to reassure him: ﴿قَالُواْ لَا تَخَفۡ﴾ (“They said, "Fear not” · 38:22). They did not begin to present their case until they had restored the judge’s sense of security, because a judgment rendered in a state of alarm may not come from the clarity of mind that judging requires.
They then introduced themselves in neutral procedural terms: ﴿خَصۡمَانِ﴾ (“[We are] two adversaries” · 38:22). At this opening stage, before the claimant set out the details of his case, they did not specify which of them had done wrong. A judge must ascertain the claims of each party before ruling.
They then said: ﴿بَغَىٰ بَعۡضُنَا عَلَىٰ بَعۡضٖ﴾ (“one of whom has wronged the other” · 38:22), affirming that one of them had wronged the other without specifying in that statement who had done wrong. They then asked for three things that embody the principles of sound judgment: a ruling in accordance with the truth, no overstepping or bias, and guidance to the straight path.
As they saw it, their purpose was not merely to hear a word that would bring the hearing to a close. It was to be guided to the straight path that restores what is rightfully due and keeps the dispute from continuing.
Setting the Account Straight and Refuting the Isrāʾīliyyāt
Before we turn to the outpourings of the verse, we must clear away the reports that have obscured the beauty of the Qur’anic story and attributed to David, peace be upon him, things established neither in the Book of Allah nor in any authentic Sunnah.
A tale has circulated widely in some collections of stories and works of exegesis. It claims that David, peace be upon him, saw Uriah’s wife bathing and became infatuated with her, then schemed against her husband and repeatedly sent him to the front of the army until he was killed, after which David married his wife. It further claims that the two disputants were angels who presented him with the parable of the man with ninety-nine ewes and the man with one ewe.
This account, with all its details, is not from the Qur’an, nor has it been established in any authentic hadith from the Messenger of Allah, may Allah bless him and grant him peace. Its main elements are, in fact, found in the Second Book of Samuel, one of the scriptures of the Children of Israel: the story of Bathsheba, Uriah’s wife; Uriah being sent into the thick of the fighting so that he would die; and Nathan then coming to David with the parable of the rich man with many flocks and the poor man with one ewe. The similarity in the main elements points to a connection with biblical accounts, although the details of the telling differ. It cannot legitimately serve as grounds for attributing the account to the Prophet, may Allah bless him and grant him peace.[3]
Ibn Kathīr laid down the decisive rule for dealing with these reports: “The commentators have mentioned a story here, most of which is drawn from the Isrāʾīliyyāt, reports from Jewish and Christian traditions. On this matter, no hadith that we are bound to follow has been established from the Prophet, who was protected from error.”
Tafsīr al-Qurʾān al-ʿAẓīm — Ismāʿīl ibn ʿUmar Ibn Kathīr.[4]
He then noted that the hadith Ibn Abī Ḥātim transmitted giving the details of the story is not authentic, because it comes through Yazīd al-Raqāshī on the authority of Anas, and the leading hadith critics regard Yazīd al-Raqāshī as a weak transmitter. Ibn Kathīr concluded that it is better to confine ourselves to what the Qur’an relates and leave to Allah what it passes over in silence.[5]
This is an important principle of interpretation: We are not obliged to fill every gap the Qur’an leaves, nor does revelation’s silence about a detail mean that we are commanded to look for a story to supply it. The silence itself may be deliberate, for the lesson does not depend on the woman’s name, her husband’s name, the number of David’s wives, or how a man in the army died.
Had the Qur’an intended to make adultery or plotting the husband’s death the focus of the story, it would have said enough about it to establish the proof, just as it explicitly named the sins of other peoples and individuals when wisdom called for it. But to ascribe a grave act of sexual immorality and deliberate murder to a noble prophet on the strength of reports without chains of transmission or accounts passed down from the People of the Book is a presumption that neither scholarship nor religion can justify.
Ibn al-ʿArabī firmly rejected the most serious part of this story, saying: “As for their claim that, when she took his fancy, he ordered her husband sent to the front to be killed in the cause of Allah, this is categorically false.”
Aḥkām al-Qurʾān — Abū Bakr Muḥammad ibn ʿAbd Allāh Ibn al-ʿArabī.[6]
He explained that nowhere does the Qur’an say that David ordered the man killed, that he married the man’s wife after his death, or that she bore him Solomon. He asked what chain of transmission supported these claims and which trustworthy transmitters could be relied on for them.
Al-Qurṭubī relayed Abū Jaʿfar al-Naḥḥās’s warning about the accounts of Uriah: Most are not sound and lack an unbroken chain of transmission, and one should not presume to repeat such accounts without first knowing that they are sound.[7]
As for what is reported from some of the early Muslims—that the matter went no further than David wishing a man would give up a woman in his favor or refrain from proposing to her so David could do so—this is far less serious than the story of adultery and murder. Yet it remains a report not traced back to the Prophet, may Allah bless him and grant him peace, and it does not have the force of an explicit Qur’anic text. We should not treat it as an established fact, much less build on it details the Qur’an does not mention.
The sounder approach is to say that the Qur’an establishes that David, peace be upon him, was put to the test in the encounter with the two disputants, that he recognized in it a trial or a test and so sought forgiveness, fell down bowing, and turned back in repentance, and that Allah forgave him and affirmed that he would have nearness to Him and a good return. As for what went through David’s mind or what earlier act the dispute was meant to represent, no authentic hadith has come down to us that obliges us to believe any particular account of it.
Even al-Saʿdī, who affirmed that David had done something for which he sought forgiveness, said: “Allah did not mention this sin committed by David, peace be upon him, because there was no need to mention it. To delve into it is therefore to strain after what is not required.”
Taysīr al-Karīm al-Raḥmān fī Tafsīr Kalām al-Mannān — ʿAbd al-Raḥmān ibn Nāṣir al-Saʿdī.[8]
As for the authentic report connected with these verses, it gives no details about a woman, Uriah, or a killing. What is established is that the Prophet, may Allah bless him and grant him peace, prostrated during the recitation of Surah Ṣād. It is also reliably reported from Ibn ʿAbbās that David was among those the Prophet, may Allah bless him and grant him peace, was commanded to follow: David prostrated, and the Messenger of Allah, may Allah bless him and grant him peace, prostrated. The hadith says, “David made this prostration in repentance, and we make it in gratitude.”[9]
The authentic report, then, establishes repentance and prostration, not that horrific crime. There is an enormous difference between the two: The fact that someone repented does not give storytellers license to invent a sin of their own, just as a doctor’s statement that a patient received treatment does not give us license to invent a diagnosis the doctor did not mention.
Our approach to interpreting the verses that follow will therefore distinguish clear levels of evidence: We affirm what the Qur’an states explicitly, accept what is authentically reported from the Prophet, may Allah bless him and grant him peace, and give transmitted reports their due weight without treating them as revelation. Whatever is at odds with the standing of prophethood, comes through unreliable chains of transmission, or is taken from the books of the Children of Israel, we reject and do not let it tarnish the majesty of the text.
To uphold the honor of the prophets is not to turn them into beings who never have to exercise their own judgment, face a test, or be called to account for something they have overlooked. The Qur’an itself says that David sought forgiveness and turned back in repentance. It means, rather, that we do not ascribe heinous sins to them without proof or replace the Qur’an’s elevated moral instruction with sensational stories that undermine the very image of prophethood.
The way the verses are arranged suggests that the trial centers on judgment, disputation, and decisive speech. Before these events, Allah praised David for his wisdom and decisive speech. Then He brought two disputants before him, recounted his judgment, and said: ﴿وَظَنَّ دَاوُۥدُ أَنَّمَا فَتَنَّـٰهُ﴾ (“And David became certain that We had tried him” · 38:24). This was followed by David’s commission to serve as a successor, his charge to judge between people with truth, and the prohibition against following his own desires. In this context, a test of judgment, justice, and care in establishing the facts lies closer to the heart of the passage than a story of passion and murder of which the Qur’an says not a word.
Until we reach the verses that follow, we will not say with certainty exactly where David exercised his own judgment. It may have been in moving to give judgment before fully hearing the other disputant. It may have been some other subtle point that David grasped from the parable. Or the trial may have had several aspects. But we can say with certainty that the scandalous account is not substantiated and that the text is sufficient to guide anyone who seeks guidance.
Jāmiʿ al-Bayān ʿan Taʾwīl Āy al-Qurʾān — Abū Jaʿfar Muḥammad ibn Jarīr al-Ṭabarī, commentary on Surah Ṣād, verse 22. Digital text. ↩︎
al-Taḥrīr wa-l-Tanwīr — Muḥammad al-Ṭāhir Ibn ʿĀshūr, commentary on Surah Ṣād, verse 22. Digital text. ↩︎
For textual comparison: 2 Samuel, chapter 11, especially verses 2–4, 14–17, and 26–27; and chapter 12, verses 1–9, in the Van Dyck Arabic translation. The reference shows that the story appears in the biblical source; it does not establish that it took place by the standards of Islamic transmission. Source; Source ↩︎
Tafsīr al-Qurʾān al-ʿAẓīm — Ismāʿīl ibn ʿUmar Ibn Kathīr, commentary on Surah Ṣād, verse 20. Digital text. ↩︎
Tafsīr al-Qurʾān al-ʿAẓīm — Ismāʿīl ibn ʿUmar Ibn Kathīr, commentary on Surah Ṣād at verse 20. Digital text. ↩︎
Aḥkām al-Qurʾān — Abū Bakr Muḥammad ibn ʿAbd Allāh Ibn al-ʿArabī, commentary on Surah Ṣād in the full text. Digital text. Ibn al-ʿArabī, Aḥkām al-Qurʾān, Surah Ṣād, ninth issue, on the story of David, 4/44. The passage denies that the husband was sent to be killed; it does not follow from citing it that one accepts the other details of the story discussed by the author. Source ↩︎
al-Jāmiʿ li-Aḥkām al-Qurʾān — Abū ʿAbd Allāh Muḥammad ibn Aḥmad al-Qurṭubī, commentary on Surah Ṣād at verse 24. Digital text. ↩︎
Taysīr al-Karīm al-Raḥmān fī Tafsīr Kalām al-Mannān — ʿAbd al-Raḥmān ibn Nāṣir al-Saʿdī, commentary on Surah Ṣād, verse 25. Digital text. ↩︎
The fact that the Prophet (may Allah bless him and grant him peace) prostrated in Surah Ṣād, following David’s example, is established in Ṣaḥīḥ al-Bukhārī, Book of the Accounts of the Prophets, hadith 3421. The wording “David performed this prostration in repentance, and we perform it in thanksgiving” is reported by al-Nasāʾī in the Book of the Opening, chapter on prostration in Surah Ṣād, hadith 957. Source; Source ↩︎
Rhetorical Outpourings
Allah Most High says: ﴿إِذۡ دَخَلُواْ عَلَىٰ دَاوُۥدَ﴾ (“When they entered upon David” · 38:22). The word ﴿إِذۡ﴾ (“When” · 38:22) (“when”) recurs after His words in the preceding verse: ﴿إِذۡ تَسَوَّرُواْ ٱلۡمِحۡرَابَ﴾ (“when they climbed over the wall of [his] prayer chamber” · 38:21), bringing the scene closer, one detail at a time. The first occurrence depicts them climbing over the wall; the second captures the moment they appear before David.
Al-Ṭabarī said: “Thus He used ﴿إذ﴾ (“When” · 38:22) twice ... so that the very act of entering was the act of presumption.”
Jāmiʿ al-Bayān ʿan Taʾwīl Āy al-Qurʾān — Abū Jaʿfar Muḥammad ibn Jarīr al-Ṭabarī.[1]
It is as though the scene were replayed from a closer vantage point: First we saw them scaling the wall of the building; now we see them inside the prayer chamber, before the prophet and king. Repeating the expression of time slows the narrative so that the reader can feel how startling their appearance was.
The verse names him explicitly: ﴿عَلَىٰ دَاوُۥدَ﴾ (“upon David” · 38:22). It does not simply say “upon him,” even though he was mentioned just before. This keeps his standing in view: This is David, the servant who constantly turned back to Allah, endowed with strength, kingship, and wisdom. Yet when taken by surprise, he is alarmed. Virtues do not make those who possess them any less human.
The preposition of elevation in ﴿عَلَىٰ دَاوُۥدَ﴾ (“upon David” · 38:22) conveys the sense of their sudden intrusion upon him, as though their presence closed in around the place where he was, rather than that of an ordinary entrance into a room open to visitors.
Then He said: ﴿فَفَزِعَ﴾ (“and he was alarmed” · 38:22). The particle fāʾ conveys how swift the reaction was: no sooner had they entered than his alarm showed. This is part of the Qur’an’s truthfulness in depicting the human soul. It does not give the prophet a theatrical show of composure; rather, it records his reaction as it happened and then shows how he dealt with it.
Ibn ʿĀshūr distinguished between alarm and fear. Alarm is the agitation that comes with a sudden surprise, and it may quickly pass once it becomes clear what is happening. Fear, by contrast, may persist as long as harm is expected. The Qur’anic wording is therefore precise: David was not paralyzed by prolonged terror; he was simply alarmed by the way they entered.[2]
As Ibn ʿAṭiyyah noted, David may have been alarmed for his own safety because of the intruders, or he may have feared that order in his kingdom had broken down to the point that people could get past the guards and cross the boundaries. He said: “It is possible that he was alarmed at the thought that the people of his kingdom had come to regard him with such contempt that some of them no longer asked permission to enter. In that case, his alarm would have been at the deterioration of conduct, not at the intruders.”
al-Muḥarrar al-Wajīz fī Tafsīr al-Kitāb al-ʿAzīz — ʿAbd al-Ḥaqq ibn Ghālib ibn ʿAṭiyyah al-Andalusī.[3]
This is a subtle point about a leader’s mind: he may fear not only for his own person but also for the order he is responsible for. When he sees an unexpected breach, he asks: Have the guards grown lax? Have the people become restless? Has the wall of the state grown fragile? Alarm, then, may carry the anxiety that comes with responsibility.
Then He said: ﴿مِنۡهُمۡ﴾ (“by them” · 38:22). That is, what alarmed him was their appearance and the way they entered, not their dispute, which they had not yet presented. This distinguishes judging the people from judging the scene. The Qur’an does not say that there was anything inherently frightening about them; rather, it was their unusual appearance on the scene that caused the alarm.
They hastened to say: ﴿لَا تَخَفۡ﴾ (“Fear not” · 38:22). The prohibition here is meant to reassure, not to rebuke. It is as if they were saying: We have not come to harm you; we have come about a case.
They did not spend long justifying the way they had entered, but went straight to the point: ﴿خَصۡمَانِ﴾ (“[We are] two adversaries” · 38:22). That is, they identify themselves as the two parties to a dispute. The subject is omitted for brevity, because the situation calls for a quick word to clear up the uncertainty.
Al-Ṭabarī said: “Something is omitted from the statement because the words that are expressed suffice to indicate it. The sense is that two parties to a dispute are bringing a case before you, and those parties are us.”
Jāmiʿ al-Bayān ʿan Taʾwīl Āy al-Qurʾān — Abū Jaʿfar Muḥammad ibn Jarīr al-Ṭabarī.[4]
Then they said: ﴿بَغَىٰ بَعۡضُنَا عَلَىٰ بَعۡضٖ﴾ (“one of whom has wronged the other” · 38:22). The term baghy denotes overstepping bounds, high-handedness, and wrongdoing. The wording leaves the wrongdoer unspecified. They did not say, “This man wronged me,” because a case can open with a general statement, with the details to follow.
Al-Biqāʿī said: “﴿بغى بعضنا﴾ (sense: one of us has wronged · 38:22) That is, one sought to assert superiority and act high-handedly. ﴿على بعض﴾ (“the other” · 38:22) He left it unspecified at first and then gave the details, so that it would make a stronger impression on the soul.”
Naẓm al-Durar fī Tanāsub al-Āyāt wa-l-Suwar — Burhān al-Dīn Ibrāhīm ibn ʿUmar al-Biqāʿī.[5]
Their words ﴿بَعۡضُنَا عَلَىٰ بَعۡضٖ﴾ (sense: one of us against another · 38:22) show proper courtroom conduct. They did not present the judge with a ready-made verdict from the very first word. Instead, they stated that there was a dispute; the claimant would then lay out the details.
Then they made their request: ﴿فَٱحۡكُم بَيۡنَنَا بِٱلۡحَقِّ﴾ (“so judge between us with truth” · 38:22). The particle fāʾ indicates that the wrongdoing calls for judicial intervention: if a wrong is left without adjudication, it spreads and gives rise to further wrongs.
Here, “right” means a sound judgment in keeping with the facts and with justice, not whatever pleases one of the two parties. The judge does not make right out of his own desires; he discerns it and applies it. That is why they said “in accordance with what is right,” not “as you see fit” or “as you wish.”
Muqātil said: “﴿فاحكم بيننا بالحق﴾ (“so judge between us with truth” · 38:22) means with justice.”
Tafsīr Muqātil ibn Sulaymān — Muqātil ibn Sulaymān al-Balkhī.[6]
Then they said: ﴿وَلَا تُشۡطِطۡ﴾ (“and do not exceed [it]” · 38:22). The term shaṭaṭ means overstepping bounds and straying far from the right course; in judgment, this includes injustice and partiality. Not every ruling is a rightful judgment merely because it comes from someone in authority. A judge may stray from the path through haste, personal desire, favoritism, or excessive harshness.
Al-Ṭabarī said: “Do not act unjustly or go to excess in your judgment by siding with one of us against the other.”
Jāmiʿ al-Bayān ʿan Taʾwīl Āy al-Qurʾān — Abū Jaʿfar Muḥammad ibn Jarīr al-Ṭabarī.[7]
He reported from Qatādah, “Do not show partiality”; from al-Suddī, “Do not act unfairly”; and from Ibn Zayd, “Depart from what is right.”
Jāmiʿ al-Bayān ʿan Taʾwīl Āy al-Qurʾān — Abū Jaʿfar Muḥammad ibn Jarīr al-Ṭabarī.[8]
Overstepping the bounds of justice thus encompasses more than outright bribery. It includes personal bias, excessive punishment, failure to protect a right, demanding more of one party than they can bear, or misconstruing what they say.
Al-Ālūsī observed that the two disputants might seem to be speaking to David with a certain boldness when they used this expression, but he said: “David’s bearing with them in this, peace be upon him, shows that it is fitting for a judge to tolerate such behavior from disputants, especially from a party who is in the right, for we all know what a person is like in the midst of a dispute.”
Rūḥ al-Maʿānī fī Tafsīr al-Qurʾān al-ʿAẓīm wa-l-Sabʿ al-Mathānī — Maḥmūd ibn ʿAbd Allāh al-Ālūsī.[9]
A litigant may come in agitated, afraid of losing what is rightfully theirs, and may not speak with perfect courtesy. A wise judge does not deny a litigant a hearing because of clumsy wording or a sharp tone, unless it crosses the line into intolerable abuse.
Then they said: ﴿وَٱهۡدِنَآ إِلَىٰ سَوَآءِ ٱلصِّرَٰطِ﴾ (“and guide us to the sound path” · 38:22). They did not say, “Just tell us who wins,” but “Guide us.” A just judgment offers guidance: it shows each party where they stand and leads them back to the path. It may even mend the relationship rather than merely record a victory for one of them.
The expression “سواء الصراط” refers to the middle of the path, its straight course, which veers to neither side. Al-Ṭabarī said: “And direct us to the straight course of the path.”
Jāmiʿ al-Bayān ʿan Taʾwīl Āy al-Qurʾān — Abū Jaʿfar Muḥammad ibn Jarīr al-Ṭabarī.[10]
Ibn ʿĀshūr said: “﴿سواء الصراط﴾ (“the sound path” · 38:22) is a metaphor for truth untainted by falsehood. A ṣirāṭ is a broad road, and its sawāʾ is the course that has no bends and no side paths branching off from it, so it brings one to the destination more quickly.”
Al-Taḥrīr wa-l-Tanwīr — Muḥammad al-Ṭāhir Ibn ʿĀshūr.[11]
In the Qur’an’s portrayal, then, a judge does not merely hand out punishments but guides people to the path. Part of what makes a judgment complete may be that the wrongdoer understands why what they did was wrong and the wronged party learns the limits of their right, so that having prevailed, they do not become the aggressor.
Jāmiʿ al-Bayān ʿan Taʾwīl Āy al-Qurʾān — Abū Jaʿfar Muḥammad ibn Jarīr al-Ṭabarī, commentary on Surah Ṣād, verse 22. Digital text. ↩︎
al-Taḥrīr wa-l-Tanwīr — Muḥammad al-Ṭāhir Ibn ʿĀshūr, commentary on Surah Ṣād at verse 22. Digital text. ↩︎
al-Muḥarrar al-Wajīz fī Tafsīr al-Kitāb al-ʿAzīz — ʿAbd al-Ḥaqq ibn Ghālib Ibn ʿAṭiyyah al-Andalusī, commentary on Surah Ṣād, verse 22. Digital text. ↩︎
Jāmiʿ al-Bayān ʿan Taʾwīl Āy al-Qurʾān — Abū Jaʿfar Muḥammad ibn Jarīr al-Ṭabarī, commentary on Surah Ṣād, verse 22. Digital text. ↩︎
Naẓm al-Durar fī Tanāsub al-Āyāt wa-l-Suwar — Burhān al-Dīn Ibrāhīm ibn ʿUmar al-Biqāʿī, commentary on Surah Ṣād, verse 22. Digital text. ↩︎
Tafsīr Muqātil ibn Sulaymān — Muqātil ibn Sulaymān al-Balkhī, commentary on Surah Ṣād, verse 22. Digital text. ↩︎
Jāmiʿ al-Bayān ʿan Taʾwīl Āy al-Qurʾān — Abū Jaʿfar Muḥammad ibn Jarīr al-Ṭabarī, commentary on Surah Ṣād, verse 22. Digital text. ↩︎
Jāmiʿ al-Bayān ʿan Taʾwīl Āy al-Qurʾān — Abū Jaʿfar Muḥammad ibn Jarīr al-Ṭabarī, commentary on Surah Ṣād, verse 22. Digital text. ↩︎
Rūḥ al-Maʿānī fī Tafsīr al-Qurʾān al-ʿAẓīm wa-l-Sabʿ al-Mathānī — Maḥmūd ibn ʿAbd Allāh al-Ālūsī, commentary on Surah Ṣād, verse 22. Digital text. ↩︎
Jāmiʿ al-Bayān ʿan Taʾwīl Āy al-Qurʾān — Abū Jaʿfar Muḥammad ibn Jarīr al-Ṭabarī, commentary on Surah Ṣād, verse 22. Digital text. ↩︎
al-Taḥrīr wa-l-Tanwīr — Muḥammad al-Ṭāhir Ibn ʿĀshūr, commentary on Surah Ṣād, verse 22. Digital text. ↩︎
Interpretive and Reflective Outpourings
The verse reveals that a trial may come upon a person in the very place they think most secure. David is in the sanctuary, guards surround the king, and access through the doors is regulated. Then the two disputants come over the wall.
This teaches us that taking the necessary means does not make us invulnerable. A person puts their life in order and protects their boundaries, but remains a servant of Allah, and things may happen that they did not account for in their plans. Wisdom lies not in preventing every surprise, but in having a way back to equilibrium when one occurs.
David was startled before he heard what the two had to say, because the body reads appearances first. Here begins an important lesson for judges, leaders, and all of us: do not let your first response to danger pronounce the final judgment.
A newcomer may look like an enemy because they entered in a suspicious way, only to turn out to have a case to bring. A person may sound rude because they are afraid and still be in the right. Someone may act in an unusual way because the usual doors have been shut in their face.
This does not justify violating what ought to be respected, but it keeps us from reducing a person to the moment they first appear.
It is worth reflecting that the two disputants reassured the judge before presenting their case. Judging requires not only information but also a psychologically stable setting. It may be incumbent on the parties not to deliberately frighten or blackmail the judge, just as it is incumbent on the system to protect the judge from pressure.
If David, with all his strength and courage, was startled, what of those who have less of either? This is why judicial institutions need guarantees of security and independence, so that judgment is not born of fear.
In their words ﴿خَصۡمَانِ﴾ (“[We are] two adversaries” · 38:22) is a lesson in not letting a dispute become our whole identity. We are adversaries in this case, not enemies in everything, and neither of us has the right to deny the other’s humanity.
How often a limited dispute turns into a feud between families or factions, passed down to the children, because people failed to distinguish between “I disagree with him over a right” and “There is nothing good in him”!
Decisive judgment begins by separating the case from the person, the incident from the whole history, and the right being claimed from the desire to humiliate the opposing party.
Their words ﴿بَغَىٰ بَعۡضُنَا عَلَىٰ بَعۡضٖ﴾ (“one of whom has wronged the other” · 38:22) establish that a dispute is not always a disagreement between parties on equal footing. There may be a real wrong, and language aimed at reconciliation should not erase the distinction between the aggressor and the one wronged.
Justice does not mean telling both parties, “You’re both equally at fault,” to spare ourselves the trouble of investigating. One may have wronged the other, and it is the judge’s task to find out.
But the judge finds out by hearing all parties, not by adopting the account of whoever speaks first. Here we glimpse the lesson that will become clear in the following verses: however compelling and clear a claim may be, that is no reason to rule before you have the full picture.
A striking feature of the passage is that the two disputants say to David, ﴿فَٱحۡكُم بَيۡنَنَا بِٱلۡحَقِّ وَلَا تُشۡطِطۡ﴾ (“so judge between us with truth and do not exceed [it]” · 38:22), when just two verses earlier he was granted decisive speech. It is as though the gift comes back to him in the form of a responsibility: Allah has granted you decisive speech, so take care not to speak before the matter is fully decided.
A virtue itself can become a source of overconfidence. Someone known for intelligence may rush because he thinks he has understood; someone known for eloquence may answer before listening; and someone who has ruled well in earlier cases may think his experience lets him dispense with the details of the new case.
The verse teaches that every dispute is a world of its own, and that past wisdom does not remove the need to ascertain the facts now.
Their words ﴿وَٱهۡدِنَا﴾ (“and guide us” · 38:22) convey that justice is not revenge. The wronged party asks for what is rightfully his, but the Qur’anic address lifts him to the point of asking for guidance for both parties. A ruling that restores the money but leaves hearts ablaze may have fulfilled part of its function, but it falls short of setting things fully right.
Not every dispute can be resolved through reconciliation, and a wrongdoer may need a punishment that will deter him. But even punishment in Islamic law is meant to restore the balance and protect society, not to gratify a desire for revenge.
It is worth reflecting that they say ﴿لَا تَخَفۡ﴾ (“Fear not” · 38:22) before they say ﴿فَٱحۡكُم﴾ (“so judge” · 38:22). It is as though safety comes before justice: someone who does not feel safe may be unable to consider the matter calmly. A society that wants a just judiciary must protect judges, witnesses, and litigants from retaliation.
At the same time, a person in authority may use fear as a pretext for cruelty. David did not immediately order those who entered to be killed, nor did his alarm keep him from hearing them out. There is a courage greater than the courage to strike: to recover your humanity under the pressure of suspicion.
Spiritual Outpourings
The verse reveals that the prayer chamber does not shut the believer off from his responsibilities to others. David was at worship when a case of wrongdoing and rightful claims came before him. Sincere worship does not make someone flee the world; it prepares him to return to it with a purer heart and fairer judgment.
Listening to someone who has been wronged may be an act of worship no less weighty than glorifying Allah, if the intention is sound and justice is done. Religion is not a matter of knowing how to speak intimately with one’s Lord in prayer and then having no patience for the pain of His servants.
At the same time, everyone who bears responsibility needs a prayer chamber: time alone with one’s Lord, so as not to be consumed by the clamor of disputants. A person who spends all day in the midst of disputes may grow hardhearted or burn out, and solitude restores a sense of servanthood.
Balance lies neither in doing away with the prayer chamber nor in keeping it shut all the time. It lies in coming out of solitude able to serve others, and in returning from serving them to solitude, to cleanse the heart of the traces of authority and anger.
There is mercy in David’s alarm for anyone who is ashamed of being afraid. Such a person may think that a true believer in the fullest sense is never alarmed, and so feel inadequate when a situation makes him tremble. The Qur’an recounts the alarm of a strong prophet to teach us that your first reaction does not define your standing; what defines you is what you do afterward.
You can be startled and then stand firm, grieve and then be patient, make a mistake in your judgment and then turn back to Allah. Servanthood does not mean losing your human nature; it means directing it toward Allah.
His words ﴿لَا تَخَفۡ﴾ (“Fear not” · 38:22) remind us that Allah may send reassurance through the very person who startled you. Perhaps you thought the one approaching meant trouble, only for that person to bring you a lesson and something good. So do not judge what Allah has set in motion by its opening moment.
The two disputants came as a test, and their intrusion opened a door for David to turn more fully to Allah and draw nearer to Him. How often a person has disliked something at first, only to discover that it revealed a fault or opened a door!
A person who keeps turning back to Allah does not ask only, “Why did they come into my sanctuary?” but also, “What does Allah want to teach me through their coming in?”
Part of the spiritual life is for a judge to learn to say, “My Lord, guide me,” before guiding the two disputants. They said, ﴿وَٱهۡدِنَا﴾ (“and guide us” · 38:22), but he cannot guide them to the right path unless Allah first guides him to it.
Everyone who takes on the task of guiding others needs renewed guidance: the teacher before the student, the father before his son, and the scholar before the one who asks him a question. Holding a position does not give anyone a light of their own.
Psychological Outpourings
The verse portrays a remarkably precise psychological sequence: an intrusion, a fright, reassurance, an explanation of why they have come, and then a request for judgment. This sequence can serve as a model for managing crises.
When we are taken by surprise, tension may rise, the focus of attention may narrow, and the mind may interpret every movement as a threat. That is why the first words were ﴿لَا تَخَفۡ﴾ (“Fear not” · 38:22). It may be difficult to move on to solving the problem before the fright and the sense of danger have subsided.
In conversations at home or at work, some people begin by shouting and making accusations, then wonder why the other person did not understand. A mind on the defensive is looking for safety, not for the truth. Calming things down does not mean giving up what is right; it opens the way to it.
But calming things down does not mean denying the problem. Immediately afterward they said, ﴿بَغَىٰ بَعۡضُنَا عَلَىٰ بَعۡضٖ﴾ (“one of whom has wronged the other” · 38:22). In other words, there is no threat of physical harm, but a wrong has been done and calls for a ruling. Sound reassurance does not say to the person who was wronged, “Nothing happened.” It says, “You are in a safe place, and we will look into what is right.”
The word ﴿بَعۡضُنَا﴾ (sense: one of us · 38:22) softens the polarization: the two sides still belong to the same circle of humanity, despite the wrong that has been done. This helps prevent the “dehumanization” of the other party, one of the most dangerous factors that can turn disputes violent.
The mind can stray before a ruling does: the heart may lean toward someone who is like oneself, toward the person who seems weaker, or toward the more eloquent speaker, and then reason looks for arguments to support that inclination. That is why we need to watch for our biases before pronouncing judgment.
Fright can also make a person want to settle a case quickly. Wanting to regain their composure, they accept the first plausible explanation. That is a problem with decisions made under pressure: speed may bring relief to the decision-maker, but it may do an injustice to those whose rights are at stake in the ruling.
Taking time, then, is not always a matter of dragging one’s feet; it can guard against the effects of a strong emotion.
Pedagogical Outpourings
The verse teaches us not to punish a child or student the moment we hear something about them that takes us by surprise, while we are still in the grip of anger or fear. We may need to calm ourselves first, then hear both sides, and only then decide.
Much unfairness in raising and teaching children occurs because one child gets there first in tears and the parent passes judgment on the one who is not there, or because a teacher sees the end of an incident without knowing how it began.
A fair approach to education says: I will listen, ask questions, and distinguish the claim from the evidence.
The verse also teaches us to respect privacy and ask permission: scaling the sanctuary wall caused the fright. A child must not enter a parent’s or brother’s room without permission or open a device or a message. Likewise, an adult must not disregard a child’s privacy without a legitimate educational need.
But a child should also find a door open when they come with a request. Not every door should be shut, leaving them no way to be heard except by shouting or misbehaving.
His words ﴿وَلَا تُشۡطِطۡ﴾ (“and do not exceed [it]” · 38:22) teach us that the punishment should fit the wrongdoing. An educator does not turn a small slip into an occasion to humiliate a child, punish the whole group for one person’s mistake, or bring up the whole past in every new dispute.
Separating the issue from the child’s character preserves the child’s dignity: we say, “What you did was wrong,” not, “You’re wicked; there’s no good in you.”
His words ﴿وَٱهۡدِنَا﴾ (“and guide us” · 38:22) teach us that an educator’s judgment does not stop at saying who was in the wrong. It shows that person what to do differently in the future. A child needs another way to act, not just a prohibition.
Contemporary Outpourings
The scaling of the sanctuary wall recurs today in digital and institutional forms. Someone may break into an account, an email inbox, or a device and justify it by saying they are seeking what is right. But a just end does not make every means just: privacy is inviolable, and access to information is governed by laws and rules.
Conversely, when institutions close off avenues for redress, people resort to leaks and public exposure. The wise response is not merely to fortify the walls, but to open reliable channels for complaints, protect whistleblowers, and ensure that those who have been harmed receive an answer.
On social media, a case is often presented in the voice of just one side, and a court of public opinion forms before the other side is heard. The story is moving, the images are painful, and the words are confident, so thousands of people hand down their verdicts within minutes.
But the words ﴿خَصۡمَانِ﴾ (“[We are] two adversaries” · 38:22) restore humility to the mind: there is another side, and there are facts we may not know. This does not mean disbelieving everyone who brings a grievance. It means not turning sympathy into a judicial ruling without evidence.
It may be just to support a person’s right to an investigation and to protection without deciding the outcome before the evidence comes to light.
In management, a leader needs time that serves as a kind of sanctuary: time for deep work and reflection, away from interruptions. But the leader must balance that with regular channels through which people’s concerns can reach them. Otherwise, privacy turns into isolation.
A leader who hears only reports that gloss over problems may one day be taken by surprise when a dispute comes over the walls of the entire system.
In the courts and the media, the verse underscores the importance of easing the pressure on those who make decisions. Threats, organized campaigns, and public vilification can bias a ruling, whether the judge gives in to them or pushes back in reaction. Independence means that a decision rests on the evidence and the law, not on fear or a desire to please the crowd.
In a family, one spouse may come to the other with a problem at a moment of utter exhaustion, and the other may react with alarm or anger and then pass judgment. The wise thing to say is: The issue matters, but let’s discuss it when we can listen. This is not evasion if a time is set for the near future and kept.
When calling people to faith, one should not let the questioner’s boldness or harsh wording keep one from hearing what they have to say. Behind it may lie a wound or a genuine doubt. But those who call others to faith are not obliged to put up with insults or threats either. They set boundaries, then consider the question, separating the behavior from the substance.
The greatest gift the verse offers our age is the distinction between the story and the truth. Sensational accounts found their way into the story of David and were repeated until many people thought they were part of the Qur’an. This is an example of how constant repetition creates a false memory.
Our duty is to return first to the text, then to authentic hadith, and then to weigh whatever lies beyond that. A story’s popularity does not authenticate its chain of transmission, its sensational detail does not make it knowledge, and its presence in a book of Qur’anic commentary does not mean the author deemed everything included there authentic.
Some commentators collected the reports that reached them, along with their chains of transmission, and left them to readers and scholars to assess critically. Others would cite a report and then reject it. We do an injustice to the tradition when we read every report it transmits as the final word of the scholar who included it, just as we do an injustice to the prophets when we ascribe to them, without scrutiny, everything that has been reported.
And so the twenty-second verse opens a hearing in a court of law, but at the same time it opens a hearing to examine the reports themselves. The two disputants came in on David over the wall. Then the Isrāʾīliyyāt, reports from Jewish and Christian traditions, made their way into the interpretation of the story through gaps left by silence and the absence of detail. They filled the place with names, women, killings, and plots that the Qur’an never mentions and the Sunnah does not substantiate.
Our duty is to guard the sanctuary of the text against this intrusion over its walls. We must not let a flimsy report sit in judgment over the Qur’an; rather, we must let the Qur’an sit in judgment over it.
What is established is that David was alarmed by an unusual entry, that the two who entered reassured him, and that they brought before him a dispute involving wrongdoing and asked him to judge by the truth, not to overstep, and to guide them to the straight path. What is established in the following verses is that he realized he was being tested, asked forgiveness, prostrated himself, and turned back to Allah. Allah forgave him and affirmed for him nearness to Himself and a good place of return.
As for the woman he saw, the man he sent to his death, the hundred wives, the golden dove, and the plot to kill: all of this lies outside the authentic text, and the most egregious parts are false and unfit to be attributed to a noble prophet.
In its purity, the verse remains a lesson in the humanity of the prophets without detracting from them, in justice in judgment without myth, and in the power of turning back without inventing a sin.
Blessed is the one who, when a dispute comes in upon him, does not make his alarm a verdict, or take the first account for the whole truth, or let his position keep him from listening to people.
Blessed is the one who says to the two disputants, letting his sense of justice speak: I will strive against my own inclinations and not give in to them. I will hear you both before I judge, and I will not be swayed by power, kinship, or eloquence.
Blessed is the one who protects the standing of the prophets from the lies of storytellers without losing what their stories offer in moral formation and in turning back to Allah.
﴿فَٱحۡكُم بَيۡنَنَا بِٱلۡحَقِّ وَلَا تُشۡطِطۡ وَٱهۡدِنَآ إِلَىٰ سَوَآءِ ٱلصِّرَٰطِ﴾ (“so judge between us with truth and do not exceed [it] and guide us to the sound path” · 38:22)—this is not an admonition to David alone, but a call to every judge, educator, leader, scholar, and reader: Do not let fear, personal inclination, or a widely told story draw you away from the middle of the path. Truth does not need a myth to carry it. It needs a heart that listens, a mind that checks the facts, a tongue that renders judgment, and a soul ready to turn back whenever it comes to see what is right.
﴿إِذْ دَخَلُوا۟ عَلَىٰ دَاوُۥدَ فَفَزِعَ مِنْهُمْ قَالُوا۟ لَا تَخَفْ خَصْمَانِ بَغَىٰ بَعْضُنَا عَلَىٰ بَعْضٍ فَٱحْكُم بَيْنَنَا بِٱلْحَقِّ وَلَا تُشْطِطْ وَٱهْدِنَآ إِلَىٰ سَوَآءِ ٱلصِّرَٰطِ﴾ (22)
When they entered upon David and he was alarmed by them? They said, "Fear not. [We are] two adversaries, one of whom has wronged the other, so judge between us with truth and do not exceed [it] and guide us to the sound path.
Purposive Outpourings
The verse lays a foundation for several objectives of adjudication and justice. The first is that the courts should offer safety from fear. The two disputants reassured David before presenting their case, and society must ensure the safety of judges, disputants, and witnesses.
The second is that making a claim does not in itself put the claimant in the right. The neutral term ﴿خَصۡمَانِ﴾ (“[We are] two adversaries” · 38:22) rules out judging before hearing the parties.
The third is that the aim of adjudication is to rule according to what is right, not to please the crowds or the powerful: ﴿فَٱحۡكُم بَيۡنَنَا بِٱلۡحَقِّ﴾ (“so judge between us with truth” · 38:22).
The fourth is to prevent overstepping, which includes bias, favoritism, excessive punishment, and departures from fair procedure.
The fifth is that adjudication offers guidance to society: ﴿وَٱهۡدِنَآ إِلَىٰ سَوَآءِ ٱلصِّرَٰطِ﴾ (“and guide us to the sound path” · 38:22). A ruling should be clear enough for both parties to understand and act on, not an ambiguous statement that gives rise to a new dispute.
A further objective is for the judge to bear with the disputants’ distress without undermining the dignity of the court. In the midst of a dispute, a person may not speak with perfect courtesy, and the judge’s dignity should not become a barrier that keeps the wronged party from speaking.
But this does not permit scaling courthouse walls or assaulting judges. The verse recounts a particular trial and does not make the manner of entry a rule of law. Rather, the lesson is to provide orderly access to justice through its doors and to ensure that those doors are open in practice, not merely in form.