David's narrative in the
Quran, in many respects,
parallels that given in the Bible. He is named a
prophet (
nabī) and also a messenger (
rasūl), David is included in lists of those who received
revelation (
waḥy;
Q4:163) or guidance (
hudā; ) from God. In both lists his name appears next to that of his son
Solomon. Elsewhere, the Quran explains that God gave to both of them the gifts of "sound judgment" (
ḥukm; ) and "knowledge" (
ʿilm; ; ). Yet the Quran also ascribes to David merits that distinguish him from Solomon: David killed
Goliath () and received a divine revelation named "the
Psalms" ( uses an indefinite form, while uses the definite form
al-Zabūr), The Quran also connects David and Jesus, by insisting that both cursed Jews against their prophecy who did not believe (). Moreover, according to the Quran, David was given the ability to distinguish between truth and falsehood when dispensing justice (
faṣl al-khiṭāb, ). Furthermore, there is the allusion to a test David was put through, wherein he prayed and repented and God forgave him ().
Surat Sad (the 38th chapter of the Quran) is also called "the sūra of David" Exegetes explain that since David prostrated when asking God to forgive him, Muhammad was ordered to imitate him and to perform a prostration when reading this chapter. == Religious significance ==