How Did Allah Test Dawoud Through the Case of the Two Disputants?
كيف امتحن الله تعالى داوود عليه السلام بقضية الخصمين؟
Two disputants came upon David while he was absorbed in his prayers, not at the time when he sat to judge. They asked him to apply justice and to guide them to an equitable judgement.
One of the disputants said that he had one ewe and that his friend had ninety-nine. The one who had many ewes said to his friend: “Commit your ewe to my charge; I will add her to mine and care for her.” David said to the speaker: “Your friend has wronged you in asking for your one ewe to be added to his ewes.”
It seems that David made a hasty judgement before he had heard the argument of the second disputer.
A judge should not be affected by the appearance of things. He should give the other disputant a chance to defend himself.
And when the disputants disappeared, it seems that they were angels sent by God, he knew that God had wanted to try him. He asked for His forgiveness and fell down in prostration and repentance about his hasty judgment.
(Has the story of the two plaintiffs, who scaled the ˹wall of David’s˺ sanctuary, reached you ˹O Prophet˺?)
(When they came into David’s presence, he was startled by them. They said, “Have no fear. ˹We are merely˺ two in a dispute: one of us has wronged the other. So judge between us with truth, do not go beyond ˹it˺, and guide us to the right way.”)
(This is my brother. He has ninety-nine sheep while I have ˹only˺ one. ˹Still˺ he asked me to give it up to him, overwhelming me with ˹his˺ argument. David ˹eventually˺ ruled, “He has definitely wronged you in demanding ˹to add˺ your sheep to his. And certainly, many partners wrong each other, except those who believe and do good, but how few are they!” Then David realized that We had tested him so he asked for his Lord’s forgiveness, fell down in prostration, and turned ˹to Him in repentance˺.) Sad 38:21-24
(˹We instructed him:˺ “O David! We have surely made you an authority in the land, so judge between people with truth. And do not follow ˹your˺ desires or they will lead you astray from Allah’s Way. Surely those who go astray from Allah’s Way will suffer a severe punishment for neglecting the Day of Reckoning.”) Sad 38:26
الخُصُومُ تَسَلَّقُوا سُورَ الغُرْفَةِ التِي كَانَ دَاوُدُ يَتَعَبَّدُ رَبَّهُ فِيهَا (المِحْرَابَ)، وَدَخَلُوا عَلَيْهِ مِنَ السُّورِ، لاَ مِنَ البَابِ، وَهُوَ مُنْشَغِلٌ بِالعِبَادَةِ، وَقَالاَ لَهُ إِنَّهُمَا خَصْمَانِ تَجَاوَزَ أَحَدُهُمَا عَلَى الآخَرِ، وَقَدْ جَاءَا إِلَيْهِ لِيَحْكُمَ بَيْنَهُمَا بِالحَقِّ والعَدْلِ
وَقَالَ أَحَدُ الخَصْمَينِ لِدَاوُدَ: إِنَّهُ يَمْلِكُ شَاةً وَاحِدَةً وَإِنَّ صَاحِبَهُ يَمْلِكُ تِسْعاً وَتِسْعِينَ شَاةً (نَعْجَةً)، فَقَالَ لَهُ صَاحِبُهُ مَالِكُ النِّعَاجِ الكَثِيرَةِ: أَعْطِنِي نَعْجَتَكَ لأَضُمَّهَا إِلَى نِعَاجِي، وَأَكْفُلَهَا لَكَ. فَقَالَ دَاوُدُ لِلْمُتَكَلِّمِ مِنَ الخَصْمَين: إِنَّ صَاحِبَكَ قَدْ ظَلَمَكَ وَجَارَ عَلَيْكَ إِذْ طَلَبَ مِنْكَ نَعْجَتَكَ الوَحِيدَةَ لِيَضُمَّهَا إِلَى نِعَاجِهِ.
وَيَبْدُو أَنَّ دَاوُدَ، عَلَيْهِ السَّلامَ، أَصْدَرَ حُكْمَهُ قَبْلَ أَنْ يَسْمَعَ حُجَّةَ الخَصْمِ الآخَرِ
الحَكَمُ عَلَيْهِ أَنْ لاَ يُؤْخَذَ بِظَاهِرِ القَوْلِ، وَأَنَّ عَلَيْهِ أَنْ يَمْنَحَ الخَصْمَ الآخَرَ فُرْصَةً لِلدِّفَاعِ عَنْ نَفْسِهِ
وَلَمَّا تَوَارَى الخَصْمَانِ، وَيَبْدُو أَنَّهُمَا كَانَا مَلَكَيْنِ مُرْسَلَينِ إِلَيْهِ مِن اللهِ تَعَالَى، أَدْرَكَ دَاوُدُ أَنَّ اللهَ أَرَادَ اخْتِبَارَهُ وَفِتْنَتَهُ، فَاسْتَغْفَرَ رَبَّهُ، وَخَرَّ سَاجِداً تَائِباً.
قال الله تعالى: (وَهَلْ أَتَاكَ نَبَأُ الْخَصْمِ إِذْ تَسَوَّرُوا الْمِحْرَابَ)
(إِذْ دَخَلُواْ عَلَىٰ دَاوُودَ فَفَزِعَ مِنْهُمْ قَالُواْ لاَ تَخَفْ خَصْمَانِ بَغَىٰ بَعْضُنَا عَلَىٰ بَعْضٍ فَٱحْكُمْ بَيْنَنَا بِٱلْحَقِّ وَلاَ تُشْطِطْ وَٱهْدِنَا إِلَىٰ سَوَاءِ الصِّرَاطِ)
إنَّ هَـٰذَا أَخِي لَهُ تِسْعٌ وَتِسْعُونَ نَعْجَةً وَلِيَ نَعْجَةٌ وَاحِدَةٌ فَقَالَ أَكْفِلْنِيهَا وَعَزَّنِي فِي الْخِطَابِ ﴿٢٣﴾ قَالَ لَقَدْ ظَلَمَكَ بِسُؤَالِ نَعْجَتِكَ إِلَىٰ نِعَاجِهِ وَإِنَّ كَثِيراً مِّنَ الْخُلَطَاءِ لَيَبْغِي بَعْضُهُمْ عَلَىٰ بَعْضٍ إِلاَّ الَّذِينَ آمَنُواْ وَعَمِلُواْ الصَّالِحَاتِ وَقَلِيلٌ مَّا هُمْ وَظَنَّ دَاوُودُ أَنَّمَا فَتَنَّاهُ فَاسْتَغْفَرَ رَبَّهُ وَخَرَّ رَاكِعاً وَأَنَابَ (ص 38: 21-24)
وقال تعالى: (يَا دَاوُودُ إِنَّا جَعَلْنَاكَ خَلِيفَةً فِي الأَرْضِ فَاحْكُمْ بَيْنَ النَّاسِ بِالْحَقِّ وَلاَ تَتَّبِعِ الْهَوَىٰ فَيُضِلَّكَ عَن سَبِيلِ اللَّهِ إِنَّ الَّذِينَ يَضِلُّونَ عَن سَبِيلِ اللَّهِ لَهُمْ عَذَابٌ شَدِيدٌ بِمَا نَسُواْ يَوْمَ الْحِسَابِ) (ص 38: 26)
1. An Unusual Arrival That Signaled Something Was Different | دخولٌ غير معتاد ينبئ بأمر غير معتاد
The two disputants did not come through the door; they climbed over the wall of Dawoud’s private prayer chamber while he was absorbed in worship, startling him. This unusual entry, and the fact that he was interrupted during worship rather than approached during his sessions of judgment, already suggest that something beyond an ordinary legal dispute was taking place.
لم يدخل الخصمان من الباب، بل تسوّرا محراب داوود عليه السلام وهو منشغل بالعبادة، ففزع منهما: (إِذْ دَخَلُوا عَلَىٰ دَاوُودَ فَفَزِعَ مِنْهُمْ) (ص 38: 22). وهذا الدخول غير المعتاد، ومجيئهما إليه في وقت عبادته لا في مجلس قضائه، يوحيان بأن الأمر أكبر من خصومة عادية.
2. A Ruling Before Both Sides Were Heard? | حكمٌ قبل سماع الطرفين؟
The answer says that it seems Dawoud (peace be upon him) gave his ruling as soon as the first man finished speaking, before hearing the second man’s argument. Al-Sa’di disagrees: the facts were already clear from what the two had said, so there was no need for the other to speak. The lesson the answer draws is procedural: a judge, however experienced or well-intentioned, should not rule on appearances or on one account alone, but must give every party the chance to respond before a decision is reached. What follows when justice is lost is explained in the consequences of the absence of justice.
يذكر الجواب أنه يبدو أن داوود عليه السلام حكم حين فرغ الأول من كلامه، قبل أن يسمع حجة الآخر. وخالف في ذلك السعدي، فرأى أن الحال كان معلومًا من كلامهما، فلم يحتج الآخر إلى أن يتكلم. والدرس الذي يستنبطه الجواب في أصول القضاء: أن القاضي، مهما بلغت خبرته وحسنت نيته، لا يحكم بالظاهر ولا بقول خصم واحد، بل يمكّن كل خصم من الجواب قبل أن يقضي. وأما عاقبة غياب العدل فقد بيّناها في الجواب عن عواقب غياب العدل.
3. Angels in the Form of Disputants | مَلَكان في صورة خصمين
Al-Qurtubi quotes al-Nahhas: “There is no disagreement among the people of tafsir that two angels are meant here,” so this was not an actual property dispute between two men. Their case, ninety-nine sheep against one, was itself the test: a lesson for Dawoud in how a judge must hear both sides. Ibn Kathir notes that the longer stories some books attach to this passage come mostly from Isra’iliyyat, and none of them is established by an authentic hadith.
نقل القرطبي عن النحاس قوله: “ولا خلاف بين أهل التفسير أنه يراد به هاهنا مَلَكان”، فلم تكن القضية خصومة حقيقية في مال بين رجلين، بل كانت قضيتهما، تسع وتسعون نعجة ونعجة واحدة، هي الامتحان نفسه: درسٌ لداوود في أن القاضي لا بد أن يسمع من الخصمين. وذكر ابن كثير أن القصص المطوّلة التي تُلحق بهذا الموضع في بعض الكتب أكثرها من الإسرائيليات، ولم يثبت منها شيء بحديث صحيح.
4. Recognizing the Test, Then Responding Immediately | أدرك الامتحان فبادر إلى التوبة
The moment the disputants vanished, Dawoud understood what had happened and did not wait or rationalize; he sought forgiveness and fell in prostration at once.
لما توارى الخصمان أدرك داوود عليه السلام ما جرى، فلم يتريث ولم يلتمس لنفسه عذرًا، بل استغفر ربه وخرّ ساجدًا تائبًا من فوره.
5. Forgiven, Then Given a Standing Principle | غُفر له ثم أُعطي قاعدة باقية
Immediately after Allah forgives him, Dawoud receives a lasting instruction for every judgment he would make afterward: rule between people with truth, and never follow desire, for desire is what leads a judge astray. The test was not simply corrected and closed; it became the occasion for the principle that would guide his judging role going forward (see the special gifts Allah gave Dawoud, including the wisdom and decisive judgment named there).
بعد أن غفر الله تعالى لداوود عليه السلام، أمره أمرًا باقيًا في كل حكم يحكم به بعد ذلك: (فَاحْكُم بَيْنَ النَّاسِ بِالْحَقِّ وَلَا تَتَّبِعِ الْهَوَىٰ فَيُضِلَّكَ عَن سَبِيلِ اللَّهِ) (ص 38: 26). فلم يُطوَ الامتحان بتصحيح الخطأ فحسب، بل صار مناسبةً لقاعدة يسير عليها في قضائه بعد ذلك، وهي متصلة بما آتاه الله من الحكمة وفصل الخطاب، كما بيّنا في جواب: ما الهبات التي خصّ الله تعالى بها داوود عليه السلام؟
Scholarly Insight: Ibn Abbas (may Allah be pleased with them both) said (Sahih al-Bukhari 1069): “Sad is not one of the obligatory prostrations, but I have seen the Prophet ﷺ prostrate in it.” He also explained (Sahih al-Bukhari 4807): “Dawoud was among those whom your Prophet ﷺ was commanded to follow, so the Messenger of Allah ﷺ prostrated at it.” See the prostration made when reciting the Quran. Read the fuller context in the tafsir of Surah Sad.
Frequently Asked Questions | الأسئلة الشائعة
How did the two disputants reach Dawoud?
They climbed over the wall of his private prayer chamber while he was absorbed in worship.
Did Dawoud rule before hearing both sides?
According to the answer, it seems he ruled after hearing only the first disputant’s account; al-Sa’di holds that the facts were already clear from their words, so the second man did not need to speak.
Who were the two disputants really?
Two angels sent by Allah to test him, not an actual dispute; al-Qurtubi quotes al-Nahhas that the people of tafsir do not disagree on this.
How did Dawoud respond once he realized it was a test?
He immediately sought Allah’s forgiveness and fell down in prostration and repentance.
What instruction did Allah give Dawoud afterward?
To judge between people with truth and never follow desire, since desire leads a judge astray.
Prepared by Eng. Ghada Homad, founder of IslamFAQ, researched and written in consultation with qualified scholars, reviewed by Professor Khaled Jassem Al-Houli, Associate Professor of Comparative Jurisprudence and Islamic Politics, Faculty of Sharia and Islamic Studies, University of Kuwait. Read more about the authors and this project →