General Context
This verse comes after Allah closes the account of the trial with His words: ﴿فَغَفَرۡنَا لَهُۥ ذَٰلِكَۖ وَإِنَّ لَهُۥ عِندَنَا لَزُلۡفَىٰ وَحُسۡنَ مَـَٔابٖ﴾ (“So We forgave him that; and indeed, for him is nearness to Us and a good place of return.” · 38:25). David, peace be upon him, has been forgiven, enjoys nearness to Allah, and has a good return and a good destiny. Then the divine address comes to him with a greater responsibility: ﴿يَٰدَاوُۥدُ إِنَّا جَعَلۡنَٰكَ خَلِيفَةٗ فِي ٱلۡأَرۡضِ﴾ (“O David, indeed We have made you a successor upon the earth” · 38:26).
This Qur’anic sequence preserves the standing of David, peace be upon him, and calls for careful scrutiny of the account from Israelite tradition that accuses him of becoming infatuated with the wife of one of his soldiers and then arranging to send the man into battle to be killed so that he could take his wife. Some commentators have cited the praise and the entrusting of responsibility in this passage as grounds for rejecting the account. The fundamental point, however, is that judging such details still requires reliable transmission: they are established neither in the Qur’an nor in any authentic hadith from the Prophet, may Allah bless him and grant him peace.
Fakhr al-Dīn al-Rāzī drew a remarkably strong argument from the connection between the verses. He said: “Know that when Allah Most High finished explaining the story, He followed it by making clear that He had entrusted David with the vicegerency of the earth. This is among the strongest proofs that the widely held account of that story is unsound. It is exceedingly unlikely that a man would be described as seeking to shed the blood of Muslims and eager to wrest their wives from them, only for it to be said immediately afterward that Allah Most High had entrusted him with the vicegerency of the earth.”
Mafātīḥ al-Ghayb — Fakhr al-Dīn Muḥammad ibn ʿUmar al-Rāzī.[1]
This is not merely a rhetorical observation; it is an argument grounded in exegesis. The verses explain one another, and the context of praise, forgiveness, nearness to Allah, and vicegerency calls for safeguarding the station of prophethood from the particulars of a heinous crime for which there is no sound report.
Whoever wishes to understand David’s story from the Qur’an should read it within the frame Allah chose for it, not the one fashioned by the books of the Children of Israel: a servant who constantly turned back to Allah, strong in his obedience to Him, glorifying Him as the mountains and birds answered him; a king whose kingdom was made firm, who was given wisdom and decisive speech, and who was tested in a delicate matter of judgment. He sought forgiveness and turned back to Allah, who forgave him and affirmed that he had nearness to Him and a good return, then renewed his commission to serve as vicegerent and judge with truth.
The Israelite account, by contrast, tears down this entire structure and turns a great prophet into a man who betrayed a believing soldier, violating the sanctity of his blood and his honor. Rejecting it, then, is not an emotional defense of David but an act of fidelity to the Qur’anic text itself.
Here the Qur’an does not announce that David has been stripped of his kingship, removed from his judicial office, or found wanting in integrity. Rather, it says: ﴿إِنَّا جَعَلۡنَٰكَ خَلِيفَةٗ فِي ٱلۡأَرۡضِ﴾ (“indeed We have made you a successor upon the earth” · 38:26). It renews his commission, confirms his standing, and heightens his responsibility after the trial. It is as though Allah were saying to him: We have forgiven you, and you have nearness to Us. So carry on with your mission, judge between people with truth, and remain watchful against the desires that can creep into anyone’s decisions.
This is why Abū Ḥayyān understood the command to judge and the prohibition against following desire as lasting guidance for David and for others, not as an assertion that he had been judging unjustly. He said: “﴿فاحكم بين الناس بالحق﴾ (“so judge between the people in truth” · 38:26): A command to persist in doing so, and a reminder to others entrusted with people’s affairs. Since he was protected from error, he judged only with truth, so he was first commanded to judge. And since desire can arise in one who is not protected from error, he was commanded to avoid it, and the consequence of following it was stated: it leads him astray from the path of Allah.”
Al-Baḥr al-Muḥīṭ fī al-Tafsīr — Abū Ḥayyān Muḥammad ibn Yūsuf al-Andalusī.[2]
Prohibiting something does not establish that the addressee has done it. Allah forbade His Prophet Muhammad, may Allah bless him and grant him peace, to associate partners with Him, to obey those who denied the truth, or to doubt. Yet he, may Allah bless him and grant him peace, neither associated partners with Allah, nor obeyed them, nor doubted. Rather, commands and prohibitions give steadfastness, teach the community by addressing its role model, and warn where paths lead before anyone takes them.
The address to David here may contain a particular lesson after the trial: give your first emotional reaction no opening to influence your judgment, and do not let the force of what appears before you take the place of thorough verification. This befits the exacting demands of prophethood and judgment and has nothing to do with the indecent passions that intrusive accounts have ascribed to him.
Sayyid Quṭb said: “Following desire—as it pertains to a prophet—means going along with one’s initial emotional reaction without pausing, verifying, or seeking clarity. Persisting in this leads one astray […] It was part of Allah’s care for His servant David that He alerted him at the first sign of a turn, checked him at his first impulsive move, and warned him of the distant end when he had not taken a single step toward it.”
Fī Ẓilāl al-Qurʾān — Sayyid Quṭb.[3]
Such is Allah’s care for those He has chosen: He does not leave them to go far down the path, but alerts them at the first point where greater perfection is called for and brings them back to the middle before their steps stray. Whoever takes this subtle warning as evidence of a grave crime has distorted the way the verses fit together and turned a warning at the start of the road into an admission that its end has been reached.
Mafātīḥ al-Ghayb — Fakhr al-Dīn Muḥammad ibn ʿUmar al-Rāzī, commentary on Surah Ṣād, verse 26. Digital text. ↩︎
al-Baḥr al-Muḥīṭ fī al-Tafsīr — Abū Ḥayyān Muḥammad ibn Yūsuf al-Andalusī, commentary on Surah Ṣād, verse 26. Digital text. ↩︎
Fī Ẓilāl al-Qurʾān — Sayyid Quṭb, commentary on Surah Ṣād, verse 26. Digital text. ↩︎
Rhetorical Outpourings
The verse opens with the vocative: ﴿يَٰدَاوُۥدُ﴾ (“O David” · 38:26). Calling him by name after mentioning forgiveness and nearness conveys intimacy and honor and directs the guidance to him personally. Allah did not say, “O sinner,” nor did He mention the trial again. Rather, He called him by the name that the surah had associated with servanthood, strength, and turning back to Allah.
It is as though repentance had turned a page, opening the way for a new address: David, carry on with your task. This is part of Allah’s mercy: He does not let the penitent’s identity dissolve into his error, nor does He equate his name with his lapse. David remains David: the servant who constantly turns back to Allah, the prophet and king, the one granted nearness.
Then He said: ﴿إِنَّا﴾ (“indeed We” · 38:26), emphasizing the statement with the particle إن and the plural of majesty. The office of vicegerent is not a claim David made for himself, the outcome of a political coup, or a hereditary right in its own right. Rather, it is a divine appointment and commission: ﴿إِنَّا جَعَلۡنَٰكَ﴾ (“indeed We have made you” · 38:26).
This appointment carries both honor and responsibility. No office comes from Allah without accountability. Whoever thinks vicegerency is a privilege with no corresponding duty has taken half the meaning and left out the more consequential half.
Then He said: ﴿جَعَلۡنَٰكَ خَلِيفَةٗ﴾ (“We have made you a successor” · 38:26). A vicegerent is someone who takes another’s place in carrying out a task or managing affairs, or someone entrusted with carrying out a command within a defined sphere.
Al-Ṭūsī said: “A vicegerent is one who manages affairs on another’s behalf, in place of that other’s management. Thus, when Allah entrusted David with governing created beings, he thereby became a vicegerent.”
Al-Tibyān fī Tafsīr al-Qurʾān — Abū Jaʿfar Muḥammad ibn al-Ḥasan al-Ṭūsī.[1]
Describing David as a vicegerent does not mean that Allah is absent from His dominion or needs anyone to stand in for Him—exalted is Allah above that. Rather, it means that David is commanded to put Allah’s law into effect and to manage people’s affairs in accordance with what Allah has revealed to him.
Ibn ʿĀshūr said: “What is meant here ... is that he is Allah’s vicegerent in putting His laws into effect for the community over which he was appointed vicegerent, both those Allah reveals to him and those of the earlier revealed law that he was instructed by revelation to follow.”
al-Taḥrīr wa-l-Tanwīr — Muḥammad al-Ṭāhir Ibn ʿĀshūr.[2]
The successor, then, does not legislate on his own authority; rather, he carries out a command that stands above him. His judgment is not right because it comes from him, but because it accords with the truth Allah has sanctioned. When authority is severed from its moral bearings, it becomes sheer force. In the Qur’anic conception, by contrast, succession is authority bound by a trust.
Ibn ʿAṭiyyah was careful not to extend the title “Allah’s successor” to every ruler. He said: “No one is called Allah’s successor except His messenger. As for the caliphs, each is the successor of the one who came before him.”
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 leaves no room for anyone to claim that every ruler who seizes power over people represents Allah and then demand their absolute obedience to him. David was a prophet who received revelation. Those who are not prophets, however, have their deeds weighed against the revealed law and justice. They do not acquire sanctity merely by holding office.
He then qualified the succession with the words ﴿فِي ٱلۡأَرۡضِ﴾ (“upon the earth” · 38:26). What is meant is the land of David’s kingdom, where Allah made him ruler, though the expression may also be taken to reflect the extent of his dominion and the awe he inspired in his time.
Ibn ʿĀshūr said: “And ﴿الأرض﴾ (“the earth” · 38:26) refers to the land of his known kingdom; that is, We made you a successor in the land of Israel. It may also be taken to mean the whole earth, for David was the greatest of the earth’s kings in his time.”
al-Taḥrīr wa-l-Tanwīr — Muḥammad al-Ṭāhir Ibn ʿĀshūr.[4]
The choice of the word “earth” reminds the successor that no matter how high he rises, he is on the earth: from it he was created, on it he acts, and to it his body returns. No one appointed as a successor over a patch of earth should act as though it had passed out of Allah’s dominion and into his own absolute possession.
Then comes the particle fāʾ: ﴿فَٱحۡكُم﴾ (“so judge” · 38:26). It signals that judging according to truth necessarily follows from succession: because you are a successor, judge according to truth. Succession is not a crown, but a judicial and moral charge.
Ibn ʿĀshūr said: “The command to judge between people according to truth follows from his appointment as successor, indicating that this is his duty and that, of all people, he has the strongest claim to judge with justice.”
al-Taḥrīr wa-l-Tanwīr — Muḥammad al-Ṭāhir Ibn ʿĀshūr.[5]
If succession were merely a grant of power, judging according to truth would not have been its first duty. The verse defines authority by its function, not by its outward trappings: judging, upholding justice, and protecting people from oppression.
al-Ṭabarī said: “We appointed you as a successor on earth after those of Our messengers who came before you, to judge among its inhabitants … ﴿فاحكم بين الناس بالحق﴾ (“so judge between the people in truth” · 38:26) means: with justice and fairness.”
Jāmiʿ al-Bayān ʿan Taʾwīl Āy al-Qurʾān — Abū Jaʿfar Muḥammad ibn Jarīr al-Ṭabarī.[6]
He did not say, “So judge among your followers” or “among your inner circle,” but ﴿بَيۡنَ ٱلنَّاسِ﴾ (“between the people” · 38:26). Justice cannot be parceled out according to how close or distant people are or where they belong. Anyone who comes under the ruler’s jurisdiction is entitled to fair treatment, even an adversary or someone who disagrees.
The word «الناس» (“people”) is general. It lifts the work of judging beyond service to those closest to the ruler and puts it in the service of justice for all people within the scope of his responsibility. The successor is not the ruler of his party or clan, but of the people Allah has entrusted to his care.
Then He said: ﴿بِٱلۡحَقِّ﴾ (“in truth” · 38:26). The preposition bāʾ conveys both accompaniment and means: let truth attend every judgment you make and guide you in making it, rather than being called in only when it serves your interests.
al-Bayḍāwī said: “﴿فاحكم بين الناس بالحق﴾ (“so judge between the people in truth” · 38:26): according to Allah’s judgment.”
Anwār al-Tanzīl wa-Asrār al-Taʾwīl — ʿAbd Allāh ibn ʿUmar al-Bayḍāwī.[7]
Ibn ʿĀshūr said: “Truth is what justice under the revealed law requires of people in their dealings with one another and in the conduct of their private and public affairs. What constitutes truth is determined by what the revealed law specifies.”
al-Taḥrīr wa-l-Tanwīr — Muḥammad al-Ṭāhir Ibn ʿĀshūr.[8]
So truth is not what the ruler considers useful to his hold on power, nor what the public applauds, nor what emotion dictates. It is what accords with justice, divine law, and established facts.
Then He said: ﴿وَلَا تَتَّبِعِ ٱلۡهَوَىٰ﴾ (“and do not follow [your own] desire” · 38:26). He did not say: Have no desires. An initial inclination may arise in the soul without being wholly a matter of choice. What is forbidden is letting that inclination take the lead and direct the decision.
Al-Māturīdī said: “He did not forbid him to feel the desires of the soul; rather, He forbade him to follow them, for the soul may desire to judge without right … because the soul was created with desires and an inclination toward pleasures and appetites … That is why He did not forbid him to feel its desires, but forbade him to follow them. He can restrain the soul through reason and bring it back to following the truth.”
Taʾwīlāt Ahl al-Sunnah — Abū Manṣūr Muḥammad ibn Muḥammad al-Māturīdī.[9]
This is one of the subtlest distinctions in psychology and ethics: you may be fond of one of the two parties to a dispute, feel an aversion to the other, or lean toward an initial opinion. You may have such a reaction, but justice begins when you keep that inclination from becoming a judgment.
A person is not held to account for every passing thought, but is held to account for choosing to follow it, looking for arguments to justify it, and harnessing authority to act on it.
The word hawā (الهوى, desire) carries an echo of huwiyy (الهوي, falling): what a person desires may bring him down. Al-Biqāʿī pointed to this meaning when he said: “﴿ولا تتبع الهوى﴾ (“and do not follow [your own] desire” · 38:26) That is, what sends the one who harbors it plunging from the heights of Allah’s good pleasure to the depths of Satan.”
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āʿī.[10]
At first, following desire seems to elevate the self: I do what I like, and I take the side of whomever I choose. In reality, though, it is a fall from the station of servanthood into captivity to desire.
Then comes the consequence of following desire: ﴿فَيُضِلَّكَ عَن سَبِيلِ ٱللَّهِ﴾ (“as it will lead you astray from the way of Allah” · 38:26). The particle fāʾ marks causation: following desire leads one astray. He did not say that it would merely lead you into a single error. Rather, it may take you off the path altogether if you do it repeatedly and it becomes a habit.
Al-Ṭabarī said: “By following your desire in your judgment, giving it precedence over justice and acting upon the truth, you are drawn away from the path of Allah.”
Jāmiʿ al-Bayān ʿan Taʾwīl Āy al-Qurʾān — Abū Jaʿfar Muḥammad ibn Jarīr al-Ṭabarī.[11]
Al-Māturīdī said: “If a person follows it, it leads him astray from Allah’s path. But if he follows it in one matter after another, it impels him to lead others astray from His path.”
Taʾwīlāt Ahl al-Sunnah — Abū Manṣūr Muḥammad ibn Muḥammad al-Māturīdī.[12]
The danger lies not in the first impulse alone, but in repetition. A single ruling in which someone favors a relative may make favoritism easier the next time. Then it becomes a system, and truth becomes a stranger in the very chamber that should have protected it.
Then He repeated the expression: ﴿عَن سَبِيلِ ٱللَّهِ﴾ (“from the way of Allah” · 38:26), followed by ﴿إِنَّ ٱلَّذِينَ يَضِلُّونَ عَن سَبِيلِ ٱللَّهِ﴾ (“Indeed, those who go astray from the way of Allah” · 38:26). The repetition underscores the gravity of the path and makes clear that this is no passing administrative violation; it is a departure from the path of Allah.
Abū al-Suʿūd said: “Stating ‘the path of Allah’ explicitly where a pronoun could have stood gives the statement greater force and conveys just how heinous it is to stray from that path.”
Irshād al-ʿAql al-Salīm ilā Mazāyā al-Kitāb al-Karīm — Abū al-Suʿūd Muḥammad ibn Muḥammad al-ʿImādī.[13]
Then He said: ﴿لَهُمۡ عَذَابٞ شَدِيدُۢ﴾ (“will have a severe punishment” · 38:26). The verse had begun by honoring the office of vicegerency, but it closes with a warning to whoever betrays its trust. The greater the office, the greater the danger of going astray in its exercise.
The severe punishment is not mentioned for a mere error of judgment of which the person has repented. Rather, it is for those who stray from the path of Allah and follow desire until they become people who walk that road. There is an important difference between a lapse followed by a plea for forgiveness and a pattern of going astray followed by stubborn persistence.
Then He made clear the deep root of going astray: ﴿بِمَا نَسُواْ يَوۡمَ ٱلۡحِسَابِ﴾ (“for having forgotten the Day of Account” · 38:26). Forgetting here is not merely a matter of something slipping from memory; it is treating it as if it had been forgotten. They live as though there were no reckoning.
Al-Ṭabarī said: “Because they abandoned judging with justice and acting in obedience to Allah.”
Jāmiʿ al-Bayān ʿan Taʾwīl Āy al-Qurʾān — Abū Jaʿfar Muḥammad ibn Jarīr al-Ṭabarī.[14]
And al-Bayḍāwī said: “For remembering it calls for holding fast to the truth and resisting one's desires.”
Anwār al-Tanzīl wa-Asrār al-Taʾwīl — ʿAbd Allāh ibn ʿUmar al-Bayḍāwī.[15]
Remembering the reckoning sets a watchman within you in the closed chamber where judgments are made. People may not see you waver, but you will stand before the One who knows which way your heart inclines before you sign the decision.
al-Tibyān fī Tafsīr al-Qurʾān — Abū Jaʿfar Muḥammad ibn al-Ḥasan al-Ṭūsī, commentary on Surah Ṣād, verse 26. Digital text. ↩︎
al-Taḥrīr wa-l-Tanwīr — Muḥammad al-Ṭāhir Ibn ʿĀshūr, commentary on Surah Ṣād, verse 26. 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 26. Digital text. ↩︎
al-Taḥrīr wa-l-Tanwīr — Muḥammad al-Ṭāhir Ibn ʿĀshūr, commentary on Surah Ṣād, verse 26. Digital text. ↩︎
al-Taḥrīr wa-l-Tanwīr — Muḥammad al-Ṭāhir Ibn ʿĀshūr, commentary on Surah Ṣād, verse 26. 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 26. Digital text. ↩︎
Anwār al-Tanzīl wa-Asrār al-Taʾwīl — ʿAbd Allāh ibn ʿUmar al-Bayḍāwī, commentary on Surah Ṣād, verse 26. Digital text. ↩︎
al-Taḥrīr wa-l-Tanwīr — Muḥammad al-Ṭāhir Ibn ʿĀshūr, commentary on Surah Ṣād, verse 26. Digital text. ↩︎
Taʾwīlāt Ahl al-Sunnah — Abū Manṣūr Muḥammad ibn Muḥammad al-Māturīdī, commentary on Surah Ṣād, verse 26. 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 26. 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 26. Digital text. ↩︎
Taʾwīlāt Ahl al-Sunnah — Abū Manṣūr Muḥammad ibn Muḥammad al-Māturīdī, commentary on Surah Ṣād, verse 26. Digital text. ↩︎
Irshād al-ʿAql al-Salīm ilā Mazāyā al-Kitāb al-Karīm — Abū al-Suʿūd Muḥammad ibn Muḥammad al-ʿImādī, commentary on Surah Ṣād, verse 26. 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 26. Digital text. In this interpretation, al-Ṭabarī took “the Day of Reckoning” to modify “the severe punishment” and understood forgetting to mean failing to judge with justice and to act in obedience. The reflection in the main text, by contrast, follows the interpretation that takes the Day of Reckoning itself as the object of forgetting. The two grammatical analyses should therefore not be treated as equivalent. ↩︎
Anwār al-Tanzīl wa-Asrār al-Taʾwīl — ʿAbd Allāh ibn ʿUmar al-Bayḍāwī, commentary on Surah Ṣād, verse 26. Digital text. ↩︎
Interpretive and Reflective Outpourings
This verse brings the Qur’anic account to a close with its strongest answer to the controversy over David’s story. If we take the verses in order, we find forgiveness, nearness to Allah, a good return, appointment as a successor on earth, and a command to judge according to the truth. The commentators have drawn on this sequence to reject the report alleging that David used his authority to kill a believer and take his wife.
The argument put forward by Fakhr al-Dīn al-Rāzī interprets the passage’s praise and obligations in light of the standing of prophethood. It leads the reader to reject an accusation unsupported by any sound report, not to invent details to counter it. The Qur’an does not establish that a man was killed and his wife taken, and we may not attribute this to David on the strength of a story in circulation.[1]
On the interpretation that understands the trial as a subtle reminder about judging and ascertaining the facts, the whole passage falls into place. David was given decisive speech and tested with a case presented in a way that could strongly sway him. He realized that a judge needs to take greater care to ascertain the facts, so he turned back to Allah. Allah forgave him, then said to him: ﴿فَٱحۡكُم بَيۡنَ ٱلنَّاسِ بِٱلۡحَقِّ وَلَا تَتَّبِعِ ٱلۡهَوَىٰ﴾ (“so judge between the people in truth and do not follow [your own] desire” · 38:26).
We need not conclude with certainty that David ruled without hearing the other party. The commentators allowed for the possibility that the other party admitted the claim, or that the ruling assumed the claim was true. What the guidance makes certain is that anyone in authority, however high their standing, must guard against the influence of emotion and personal desire on their judgment.
Personal desire here is broader than the sexual appetite to which the Isrāʾīliyyāt (reports from Jewish and Christian traditions) reduce the story. It may take the form of affection for a relative, dislike of an opponent, eagerness to dispose of a case quickly, concern for one’s reputation, fear of the public, or attachment to one’s first opinion.
Reducing personal desire to a single, flagrant form may keep readers from recognizing their own everyday desires. A reader might condemn the report about David, then rule between his own children in favor of the one he loves most, rule between his employees in favor of a favorite, or pass along a news report because it aligns with his party’s position.
The Qur’an seeks to hold up a mirror to everyone who makes decisions: Do not follow your desires.
Fakhr al-Dīn al-Rāzī explained how desire leads one astray: “Desire draws a person to become absorbed in bodily pleasures, and absorption in them keeps one from pursuing spiritual joys, which are the abiding good things. For the two are opposing states: to the extent that one increases, the other diminishes.”
Mafātīḥ al-Ghayb — Fakhr al-Dīn Muḥammad ibn ʿUmar al-Rāzī.[2]
Desire narrows a person’s horizon to immediate pleasure: he sees what he wants now but not where he will end up. The pleasure may have nothing to do with money or bodily appetite. It may be the pleasure of winning an argument, the pleasure of being in control, or the pleasure of hearing applause.
Any immediate pleasure that draws a person away from the scales of truth can become a desire that leads him astray.
Al-Rāzī then linked going astray to punishment: “When a man grows deeply attached to these bodily pleasures and entirely forgets his spiritual states, then, when he dies, he parts from what he loves and longs for […] and comes to what he detests. He is thus inevitably in the greatest distress and affliction.”
Mafātīḥ al-Ghayb — Fakhr al-Dīn Muḥammad ibn ʿUmar al-Rāzī.[3]
A person’s punishment takes its form from what he clings to. Whoever makes something perishable his ultimate aim finds himself, at death, cut off from all that his heart worshiped. But whoever makes truth his beloved passes to the One to whom he used to turn in life.
It is worth reflecting that Allah did not say, “Have no opinion.” Rather, He said, “Do not follow your desires.” A judge needs independent legal reasoning, strength of character, and the ability to make decisions, but must distinguish reasoning from desire. Independent legal reasoning looks for evidence even if it goes against what one wants; desire looks for evidence that justifies what one wants.
The difference shows in the willingness to reconsider. The person who exercises independent legal reasoning says, “If I see that I was wrong, I’ll reverse my decision.” The person ruled by desire sees reversal as defeat.
David was one who kept turning back to Allah, and that is why he was able to reverse course. Turning back to Allah is not a devotional virtue confined to the prayer niche; it is one of the conditions of just judgment. Anyone who does not know how to return to Allah and to the truth cannot be entrusted with other people’s fates.
In His words ﴿فَٱحۡكُم بَيۡنَ ٱلنَّاسِ بِٱلۡحَقِّ﴾ (“so judge between the people in truth” · 38:26) lies an obligation to put truth into practice. A person may speak of justice, but it is when he rules between two names, one of them familiar to him, or between a public interest and a personal one, that the extent of his sincerity becomes clear.
Almost everyone loves truth in the abstract, but the truth of a particular case may hurt. It may go against your friend, your tribe, your party, or your organization’s profits. That is where the test begins.
One insight that emerges from reflection is that forgetting the reckoning is not only a result of going astray but also its cause. Fakhr al-Dīn al-Rāzī said: “The first cause of that straying is forgetting the Day of Reckoning. Had he kept the Day of Reckoning in mind, he would not have neglected to lay in provisions for the day of the return, nor would he have become absorbed in these corrupt pleasures.”
Mafātīḥ al-Ghayb — Fakhr al-Dīn Muḥammad ibn ʿUmar al-Rāzī.[4]
So the corruption of judgment begins before the courtroom: it begins when the reckoning leaves the ruler’s heart. If the Day of Reckoning remains present to him, he knows that every judgment will be reviewed before a Judge from whom nothing is hidden.
But if he forgets, his office becomes the court of last resort, and he imagines that no one will hold him to account for anything the law does not punish him for.
Mafātīḥ al-Ghayb — Fakhr al-Dīn Muḥammad ibn ʿUmar al-Rāzī, commentary on Surah Ṣād at verse 26. Digital text. ↩︎
Mafātīḥ al-Ghayb — Fakhr al-Dīn Muḥammad ibn ʿUmar al-Rāzī, commentary on Surah Ṣād, verse 26. Digital text. ↩︎
Mafātīḥ al-Ghayb — Fakhr al-Dīn Muḥammad ibn ʿUmar al-Rāzī, commentary on Surah Ṣād at verse 26. Digital text. ↩︎
Mafātīḥ al-Ghayb — Fakhr al-Dīn Muḥammad ibn ʿUmar al-Rāzī, commentary on Surah Ṣād, verse 26. Digital text. ↩︎
Spiritual Outpourings
The verse holds one of the secrets of servanthood after repentance: after forgiving David, Allah did not tell him to withdraw from people and give himself over to weeping. Rather, He sent him back to the work entrusted to him: ﴿فَٱحۡكُم بَيۡنَ ٱلنَّاسِ بِٱلۡحَقِّ﴾ (“so judge between the people in truth” · 38:26).
Repentance does not mean fleeing from duty, but returning to it with a purer heart. Some people may need to step down from a position they are unfit for or face a legal consequence for their wrongdoing. But the underlying principle is that sincerely turning back to Allah yields righteous action, not despairing isolation.
David rose from prostration and returned to governing, and he was warned of the danger: ﴿وَلَا تَتَّبِعِ ٱلۡهَوَىٰ﴾ (“and do not follow [your own] desire” · 38:26). Prostration is not a withdrawal from affairs of state; it purifies the one entrusted with them.
There is gentleness after forgiveness in the address ﴿يَٰدَاوُۥدُ﴾ (“O David” · 38:26). The Lord who saw him fall down calls him by name and reaffirms his duty to judge with truth. This teaches the believer not to assume that, once he has repented, Allah will address him only in the language of reproach.
He may forgive you and then put you to work doing good. He may turn a former weakness into a source of insight you can use to help others. Someone who has learned the danger of haste may become the most careful of all, and someone who has tasted the bitterness of injustice may become the most just.
His words ﴿إِنَّا جَعَلۡنَٰكَ﴾ (“indeed We have made you” · 38:26) remind you that you owe your position to Allah. Since He is the One who placed you there, do not rely on your office or fear losing it if you judge according to the truth. The One who gave it can protect you, and the One who appointed you as successor will call you to account.
But someone who thinks that other people alone can keep him in office may sway whichever way they sway and sell the truth to hold onto a seat that will not last.
In ﴿بِمَا نَسُواْ يَوۡمَ ٱلۡحِسَابِ﴾ (“for having forgotten the Day of Account” · 38:26) there is a call to remember the Day of Reckoning not merely as a scene that inspires fear, but as a guardian of conscience. The judge remembers it before ruling, the merchant before signing, the father before favoring one child, and the writer before tarnishing someone’s reputation.
The Day of Reckoning restores each decision to its true weight. A small word today may weigh as a grave injustice in the balance, and a right too easily disregarded, which no one claims in this world, will be claimed before Allah.
Psychological Outpourings
The verse distinguishes between having an inclination and following it, a distinction of great importance in understanding the self. We do not choose all our initial reactions. We may feel at ease with one person and recoil from another, or feel more sympathy for one story than for another. But we can keep those inclinations from governing our judgment.
The trouble begins when we equate what we feel with what is true: because I like this person, he must be in the right; because I fear that one, he must be guilty; because this opinion puts me at ease, it must be correct.
A fair-minded person asks: What evidence is there apart from my own inclination? What would I say if the parties’ names were switched? Do I apply the same standard to those I love and those I dislike?
This is a practical way to examine our inclinations.
The verse also reveals how a habit takes hold: ﴿فَيُضِلَّكَ﴾ (“as it will lead you astray” · 38:26). A single decision does not necessarily corrupt a person’s character, but repeatedly following one’s inclinations can entrench a moral habit. Inclination then gains the upper hand in decision-making, the search for excuses becomes more frequent, and the sense of guilt may weaken.
That is why early repentance is a blessing: it interrupts this course before it becomes second nature. Allah turned David back “at the very first turn,” as Sayyid Quṭb put it, because it is easier to keep someone from persisting than to uproot a habit once it has taken hold.[1]
Psychologically, forgetting the reckoning is like losing a “future observer.” When someone thinks only of immediate gain, long-term consequences carry less weight. Those who remember that they will face the effects of their actions are better able to defer gratification and exercise restraint in making decisions.
Fī Ẓilāl al-Qurʾān — Sayyid Quṭb, commentary on Surah Ṣād, verse 26. Digital text. ↩︎
Pedagogical Outpourings
The verse teaches us that raising a child to be just takes more than saying, “Be fair.” It means teaching the child how to recognize personal bias. Which of your children do you love most? Do you punish the younger one for something you let the older one do? Do you always believe the quiet child and accuse the one who moves around a lot?
The educator himself needs to examine his conduct, because his hidden preferences may lead him to do wrong while he thinks he is doing good.
The verse also teaches us not to condemn a passing feeling, but to teach the child not to let it lead him to act unjustly. He may be angry with his brother, and that anger is understandable, but he has no right to hit him or take what is rightfully his. Distinguishing between feeling and behavior builds moral maturity.
And in the words ﴿فَٱحۡكُم بَيۡنَ ٱلنَّاسِ بِٱلۡحَقِّ﴾ (“so judge between the people in truth” · 38:26) there is a lesson in applying common standards. The rule is established before a dispute arises and applied to everyone, so that the educator does not invent a new rule to condemn someone he dislikes.
The story of David itself teaches the educator not to tarnish a person because of a lapse. Allah forgave him, drew him near, and entrusted him with a duty. So when a learner makes a mistake and then makes amends, education should help him regain his role and his confidence while learning the lesson.
Contemporary Outpourings
Contemporary societies face complex forms of bias in judgment that go beyond immediate personal desire. Bias may be partisan, nationalist, economic, media-driven, or algorithmic.
A judge or an official may think he is impartial while being influenced by unconscious stereotypes. An algorithm may be designed using biased historical data and so repeat the injustices of the past in hiring, lending, or surveillance decisions.
﴿وَلَا تَتَّبِعِ ٱلۡهَوَىٰ﴾ (“and do not follow [your own] desire” · 38:26) in this context calls for measures that expose bias: independent review, the right to challenge a decision, transparent standards, and testing how decisions affect different groups.
In politics, “the will of the people” can become a new name for bias if it is used to justify wronging a minority or setting aside what is right. Not everything the majority desires is just, just as going against the public is not a virtue in itself. What is right is the standard.
A ruler who follows opinion polls on every issue may become a prisoner of the moment rather than a leader who takes responsibility for the consequences. Ruling justly may call for a decision that is unpopular for a time, provided it is fair, its reasons are explained, and it is grounded in evidence.
In the judiciary, bias can enter through relationships, vested interests, gifts, and media pressure. Good intentions on a judge’s part are therefore not enough. The system needs rules governing conflicts of interest and requiring recusal when a connection to the case affects impartiality.
In an institution, a manager is a steward in the limited sphere entrusted to him: he has authority over how people are evaluated, over their livelihoods, and over their opportunities. If he follows his own inclinations, he draws close those who praise him and pushes away those who speak frankly to him. Management then turns into a royal court.
Judging fairly at work means setting clear standards, documenting performance, hearing the employee out, and not using a performance review to settle a personal dispute.
In the media, a journalist may know the truth but choose what suits his audience’s outlook. A piece of information that boosts engagement is more appealing than a quiet correction. This is a professional bias that leads one away from the path of trustworthiness.
In scientific research, a researcher may grow so attached to his hypothesis that he selects the results that support it or ignores the data that contradict it. Fairness in science requires him to judge his idea by what is true, not to let the idea sit in judgment over the evidence.
In the family, a father may be fair in principle but favor a child who resembles him or fulfills his ambitions, giving that child opportunities he does not give the others. The verse brings him back to the question: Is this right, or is it favoritism?
Bias also appears in the interpretation of David’s story itself. The sensational account drew many storytellers because it was richer in detail and more dramatic than a lesson in verifying the facts before passing judgment. Some gave in to the lure of the story and left the path of the text.
Returning to the words of Fakhr al-Dīn al-Rāzī sets this right. For him, the context of the verse is an argument against the story of bloodshed and the taking of another man’s wife, details that have not been established by any sound transmission. Not every account that is told belongs in an interpretation of the Qur’an, however long it has circulated.[1]
Faithfulness to the trust requires us to put the text above the story, to hold the dignity of prophethood above the appetite for sensation, and to say of what has not been established: Allah knows best.
Thus the twenty-sixth verse comes not to condemn David on the basis of the alleged story, but to declare his standing and his responsibility, and to give the Muslim community a charter for governance: stewardship as a trust, what is right as the standard, personal inclination as the danger, a path of Allah’s to hold to, and a reckoning that keeps those in power from forgetting their limits.
David, who fell down bowing, did not rise from prostration with his mission broken. He rose as a steward commanded to act justly. This is part of the beauty of repentance: it does not erase the servant, but erases what needs to be erased in him, then brings him back to what is good with greater awareness.
Blessed is the one who holds power yet remains a servant, the one who passes judgment yet still fears the reckoning, and the one who holds an opinion yet can go against it when the truth becomes clear.
And blessed is the one who does not take his love as proof, his hatred as evidence, his office as a guarantee of infallibility, or the fact that people forget as a guarantee of salvation.
﴿فَٱحۡكُم بَيۡنَ ٱلنَّاسِ بِٱلۡحَقِّ وَلَا تَتَّبِعِ ٱلۡهَوَىٰ﴾ (“so judge between the people in truth and do not follow [your own] desire” · 38:26)—a sentence that captures the whole tragedy of governing and what can save it: truth is an uphill road that takes struggle, while desire is a slope that begins with one small step and then sends whoever follows it plummeting.
For someone who remembers the Day of Reckoning, it is easier to lose someone’s approval to uphold the truth, to reconsider an opinion to uphold justice, and to admit a mistake to preserve his integrity.
But someone who forgets the reckoning may make himself the court of last resort. That is when he begins to go astray, even if his error wears the robes of law, wisdom, and kingship.
And David, peace be upon him, remains in the Qur’an as his Lord described him: a servant who turned to Him again and again, a man of strength, granted nearness and a good return, and a successor commanded to judge by the truth. In the face of this clear account, the falsehoods of the Isrāʾīliyyāt (reports from Jewish and Christian traditions) fall away, and the lesson Allah intended remains: what best safeguards authority is for it to know that one day it will stand powerless before the King of the Day of Judgment.
﴿يَٰدَاوُۥدُ إِنَّا جَعَلْنَٰكَ خَلِيفَةً فِى ٱلْأَرْضِ فَٱحْكُم بَيْنَ ٱلنَّاسِ بِٱلْحَقِّ وَلَا تَتَّبِعِ ٱلْهَوَىٰ فَيُضِلَّكَ عَن سَبِيلِ ٱللَّهِ إِنَّ ٱلَّذِينَ يَضِلُّونَ عَن سَبِيلِ ٱللَّهِ لَهُمْ عَذَابٌ شَدِيدٌۢ بِمَا نَسُوا۟ يَوْمَ ٱلْحِسَابِ﴾ (26)
[We said], "O David, indeed We have made you a successor upon the earth, so judge between the people in truth and do not follow [your own] desire, as it will lead you astray from the way of Allah." Indeed, those who go astray from the way of Allah will have a severe punishment for having forgotten the Day of Account.
Mafātīḥ al-Ghayb — Fakhr al-Dīn Muḥammad ibn ʿUmar al-Rāzī, commentary on Surah Ṣād at verse 26. Digital text. ↩︎