The Story of Prophet Dawud (David) and the Two Angels

 Prophet Daud (David) was praying when two persons abruptly entered his private sanctuary (mihrab) where he used to worship Allah alone. They were actually two angels sent by Allah to test him. They told him that they had a dispute and asked him to judge between them. One of them said that he had ninety-nine ewes and the other had only one, but the former wanted to take the latter's ewe by force. Prophet Daud (David) said that the one who had ninety-nine ewes had wronged the other and he should return the ewe to him. Then the two angels disappeared and Prophet Daud (David) realized that it was a test from Allah. He asked Allah for forgiveness and fell down in prostration.

That story is mentioned in the Quran in Surah Sad, verses 21-26. Allah says:

 وَهَلۡ أَتَىٰكَ نَبَؤُا۟ ٱلۡخَصۡمِ إِذۡ تَسَوَّرُوا۟ ٱلۡمِحۡرَابَ

And did the news of the two disputants reach you? When they scaled over the wall into Dawud’s mosque.

إِذۡ دَخَلُوا۟ عَلَىٰ دَاوُۥدَ فَفَزِعَ مِنۡهُمۡۖ قَالُوا۟ لَا تَخَفۡۖ خَصۡمَانِ بَغَىٰ بَعۡضُنَا عَلَىٰ بَعۡضࣲ فَٱحۡكُم بَیۡنَنَا بِٱلۡحَقِّ وَلَا تُشۡطِطۡ وَٱهۡدِنَاۤ إِلَىٰ سَوَاۤءِ ٱلصِّرَ ٰ⁠طِ

When they entered upon David, so he feared them – they said, “Do not fear! We are two disputants, one of whom has wronged the other, therefore judge fairly between us and do not judge unjustly – and show us the right way.”

إِنَّ هَـٰذَاۤ أَخِی لَهُۥ تِسۡعࣱ وَتِسۡعُونَ نَعۡجَةࣰ وَلِیَ نَعۡجَةࣱ وَ ٰ⁠حِدَةࣱ فَقَالَ أَكۡفِلۡنِیهَا وَعَزَّنِی فِی ٱلۡخِطَابِ

“This is my brother; he has ninety nine ewes and I have one ewe; and he now says ‘Give that one also to me’ – and he is very demanding in speech.”

قَالَ لَقَدۡ ظَلَمَكَ بِسُؤَالِ نَعۡجَتِكَ إِلَىٰ نِعَاجِهِۦۖ وَإِنَّ كَثِیرࣰا مِّنَ ٱلۡخُلَطَاۤءِ لَیَبۡغِی بَعۡضُهُمۡ عَلَىٰ بَعۡضٍ إِلَّا ٱلَّذِینَ ءَامَنُوا۟ وَعَمِلُوا۟ ٱلصَّـٰلِحَـٰتِ وَقَلِیلࣱ مَّا هُمۡۗ وَظَنَّ دَاوُۥدُ أَنَّمَا فَتَنَّـٰهُ فَٱسۡتَغۡفَرَ رَبَّهُۥ وَخَرَّ رَاكِعࣰا وَأَنَابَ 

۩

Said Dawud, “He is indeed being unjust to you in that he demands to add your ewe to his ewes; and indeed most partners wrong one another, except those who believe and do good deeds – and they are very few!” Thereupon Dawud realised that We had tested him, so he sought forgiveness from his Lord, and fell prostrate and inclined (towards his Lord). (Command of Prostration # 10)

فَغَفَرۡنَا لَهُۥ ذَ ٰ⁠لِكَۖ وَإِنَّ لَهُۥ عِندَنَا لَزُلۡفَىٰ وَحُسۡنَ مَـَٔابࣲ

We therefore forgave him this; and indeed for him in Our presence are, surely, proximity and an excellent abode.

یَـٰدَاوُۥدُ إِنَّا جَعَلۡنَـٰكَ خَلِیفَةࣰ فِی ٱلۡأَرۡضِ فَٱحۡكُم بَیۡنَ ٱلنَّاسِ بِٱلۡحَقِّ وَلَا تَتَّبِعِ ٱلۡهَوَىٰ فَیُضِلَّكَ عَن سَبِیلِ ٱللَّهِۚ إِنَّ ٱلَّذِینَ یَضِلُّونَ عَن سَبِیلِ ٱللَّهِ لَهُمۡ عَذَابࣱ شَدِیدُۢ بِمَا نَسُوا۟ یَوۡمَ ٱلۡحِسَابِ

“O Dawud! We have indeed appointed you as a Viceroy in the earth, therefore judge between mankind with the truth, and do not follow desire for it will lead you astray from Allah’s path; indeed for those who stray away from Allah’s path is a severe punishment, because they forgot the Day of Reckoning.”

Syeb Qutb in his tafsir intrepreted this event:

These verses tell of a test to which David was subjected. David used to devote some of his time to conducting the affairs of his kingdom and to judge in people’s disputes. The rest of his time he devoted to his worship, preferring seclusion when he sang his psalms. When he went into the sanctuary, no one was allowed in. One day, David was surprised when he saw two people climbing over the wall into the sanctuary. He was alarmed. No good believer or trustworthy person would enter in this way. Therefore, they immediately tried to reassure him, saying that they were in dispute and wanted him to judge between them in fairness, showing them the way to justice. One of them immediately started putting his case forward, saying that the other man, his brother, had 99 ewes while he only had one. Yet he insisted on taking charge of his single ewe, placing it with his 99. As stated by one of the disputants, the case is one of gross injustice that cannot be condoned. Hence, David immediately started to give his judgement without speaking to the other man or asking him to give his side of the story. Instead, he told the first man that the other had been unfair in his demands, and that many people behave in this way, except those who are good believers and do righteous deeds. These, however, are few in number. It seems that at this stage the two men disappeared. In fact, they were two angels who had come to test David, the prophet God had placed in a position of authority to judge between people in fairness, making sure who is right before passing judgement. They had put the case to him in a very sentimental way, one that invited immediate sympathy. However, a judge must not allow sentiment to take charge. He must not be hasty. Above all, he must not rely on the statement of one party, without allowing the other party to present his case and submit his evidence. Some aspects of the case, if not all of it, may then be seen in a different light. In other words, appearances can often be deceptive or incomplete. At this point David realized that this was a test: “Then David realized that We were only testing him.” (Verse 24) His good nature surfaced again, because he was a man always ready to accept what is right: “He prayed for his Lord’s forgiveness, fell down in prostration and turned to God in repentance.” (Verse 24) God’s response was to accept his repentance: “We forgave him that, and in the life to come he is to he close to Us and will be well received.” (Verse 25) Some commentators on the Qur’ān picked up some Israelite reports and made much of these which cannot he acceptable because they are incompatible and irreconcilable with the nature of prophethood. Even the reports that tried to moderate these legends accept certain parts of them. The fact is that these legends do not merit consideration, because they cannot fit with God’s assertion in reference to David: “He is to be close to Us and will he well received.” (Verse 25) The Qur’ānic comments given after the story explain the nature of the test and specify the line God wants His servant to whom He assigned judgement between people to take: David! We have made you a vicegerent on earth: judge, then, between people with justice, and do not follow vain desire, lest it leads you astray from the path of God. Those who go astray from the path of God will have a severe punishment for having ignored the Day of Reckoning. (Verse 26) It is then a case of David being given the position of vicegerent on earth, one whereby he is required to judge between people in all fairness. He is told not to follow vain desires, which means in the case of a prophet, not to be hasty in one’s first reaction. For this can easily lead to going astray from God’s path. Rather, he must make sure of all the facts before passing judgement. The concluding sentence in the verse gives a general rule that applies to all cases of going astray from God’s path. It exposes the person concerned to severe punishment on the Day of Reckoning. One aspect of the care God took of His servant David is that He drew his attention at the first hurdle, and put him back on the right track at the first rash move, warning him of the ultimate result, when he had not even made one step towards it. Such is God’s favour that He bestows on His chosen servants. Since they are human, they may slip when they travel an uneven patch of the road, but God takes them by the hand putting them back on course and teaching them how to repent. Then He forgives them and bestows even greater favours on them.