David (Dawud): The Prophet-King Who Sang God's Praise

Written by Islam Is Mercy Editorial Team· 3 min readAwaiting scholar review

Picture a young man stepping out to face a giant warrior. The scene of David and Goliath is so famous that it has become a phrase in many languages. The Qur’an tells this story too — but for Muslims, David (peace be upon him) is far more than a giant-slayer. He is a prophet, a king, a judge and a man whose voice of praise filled the mountains.

The young man and the giant

The Qur’an describes how the Children of Israel, after the time of Moses, asked for a king to lead them in battle. God appointed Talut (known in the Bible as Saul). When his small army faced the forces of Goliath (Jalut), many were afraid, but a group of believers prayed for patience and steadfastness. Then came the moment Jews and Christians know so well:

فَهَزَمُوهُم بِإِذْنِ ٱللَّهِ وَقَتَلَ دَاوُۥدُ جَالُوتَ وَءَاتَىٰهُ ٱللَّهُ ٱلْمُلْكَ وَٱلْحِكْمَةَ وَعَلَّمَهُۥ مِمَّا يَشَآءُ ۗ وَلَوْلَا دَفْعُ ٱللَّهِ ٱلنَّاسَ بَعْضَهُم بِبَعْضٍۢ لَّفَسَدَتِ ٱلْأَرْضُ وَلَٰكِنَّ ٱللَّهَ ذُو فَضْلٍ عَلَى ٱلْعَٰلَمِينَ ﴿٢٥١﴾

So they defeated them by permission of Allah, and David killed Goliath, and Allah gave him the kingship and prophethood and taught him from that which He willed. And if it were not for Allah checking [some] people by means of others, the earth would have been corrupted, but Allah is full of bounty to the worlds.

Qur'an, Al-Baqara 2:251Saheeh International

The verse moves quickly from the battlefield to the bigger picture: God gave David kingship and prophethood, and taught him what He willed. It also gives a reason for history’s struggles: if God did not check some people by means of others, the earth would be filled with corruption.

The Psalms and a voice of praise

Muslims believe God revealed a scripture to David, called the Zabur — the Psalms (Qur’an 4:163; 17:55). Many Christians and Jews pray with the Psalms daily; one of the best loved begins, “The LORD is my shepherd; I shall not want” (Psalm 23:1, KJV). Muslims believe in the Zabur as it was originally revealed to David.

The Qur’an paints a beautiful picture of David’s worship:

۞ وَلَقَدْ ءَاتَيْنَا دَاوُۥدَ مِنَّا فَضْلًۭا ۖ يَٰجِبَالُ أَوِّبِى مَعَهُۥ وَٱلطَّيْرَ ۖ وَأَلَنَّا لَهُ ٱلْحَدِيدَ ﴿١٠﴾ أَنِ ٱعْمَلْ سَٰبِغَٰتٍۢ وَقَدِّرْ فِى ٱلسَّرْدِ ۖ وَٱعْمَلُوا۟ صَٰلِحًا ۖ إِنِّى بِمَا تَعْمَلُونَ بَصِيرٌۭ ﴿١١﴾

10And We certainly gave David from Us bounty. [We said], "O mountains, repeat [Our] praises with him, and the birds [as well]." And We made pliable for him iron, 11[Commanding him], "Make full coats of mail and calculate [precisely] the links, and work [all of you] righteousness. Indeed I, of what you do, am Seeing."

Qur'an, Saba 34:10-11Saheeh International

Elsewhere it says the mountains glorified God with him in the evening and at sunrise, and the birds gathered around him, all turning to God (Qur’an 38:18-19). The whole of creation, Muslims believe, praises God in its own way; with David, that praise became something people could witness.

The same verses mention a very practical gift: God made iron soft for David and taught him to make coats of mail, measuring the links precisely. A prophet-king who was also a skilled craftsman.

A king who worked with his hands

Despite his power and wealth, David chose to earn his own living. The Prophet Muhammad ﷺ held this up as an example for everyone:

Narrated Al-Miqdam: The Prophet (ﷺ) said, "Nobody has ever eaten a better meal than that which one has earned by working with one's own hands. The Prophet of Allah, David (ﷺ) used to eat from the earnings of his manual labor

Sahih al-Bukhari 2072Grade: Sahih (in Sahih al-Bukhari)

David was also known for his devotion. The Prophet ﷺ described the way David worshipped as the most beloved to God:

Narrated `Abdullah bin `Amr bin Al-`As: Allah's Messenger (ﷺ) told me, "The most beloved prayer to Allah is that of David and the most beloved fasts to Allah are those of David. He used to sleep for half of the night and then pray for one third of the night and again sleep for its sixth part and used to fast on alternate days

Sahih al-Bukhari 1131Grade: Sahih (in Sahih al-Bukhari)

Notice the balance: David slept, prayed, fasted and ate. His devotion was intense but not extreme, and Muslims see in it a model of worship that is sustainable for a lifetime.

The judge who turned back to God

God gave David wisdom and decisive judgement (Qur’an 38:20). The Qur’an then tells a mysterious story: two men climbed over the wall of David’s prayer chamber, startling him, and asked him to judge a dispute over sheep. David gave his judgement — and then realised that God had been testing him. At once he asked forgiveness, fell down in prostration and turned to God, and God forgave him (Qur’an 38:21-25). God then addressed him:

يَٰدَاوُۥدُ إِنَّا جَعَلْنَٰكَ خَلِيفَةًۭ فِى ٱلْأَرْضِ فَٱحْكُم بَيْنَ ٱلنَّاسِ بِٱلْحَقِّ وَلَا تَتَّبِعِ ٱلْهَوَىٰ فَيُضِلَّكَ عَن سَبِيلِ ٱللَّهِ ۚ إِنَّ ٱلَّذِينَ يَضِلُّونَ عَن سَبِيلِ ٱللَّهِ لَهُمْ عَذَابٌۭ شَدِيدٌۢ بِمَا نَسُوا۟ يَوْمَ ٱلْحِسَابِ ﴿٢٦﴾

[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.

Qur'an, Saad 38:26Saheeh International

Muslim scholars hold that prophets are protected from grave sins, so they do not accept the biblical account of David’s sin with Bathsheba (2 Samuel 11). They have offered different explanations of what David’s test was — one common view is that he gave his judgement before hearing the other side. What everyone agrees on is the lesson: even a prophet-king turns quickly to God in humility, and God praises him for it, calling him one who repeatedly turned back to Him (Qur’an 38:17). You can read why such differences are natural in Where Muslims Differ.

What David teaches

David’s life holds together things that are often kept apart: power and humility, wealth and hard work, kingship and constant prayer. He reminds rulers that authority is a trust from God, to be used for justice and not for personal desire. He reminds worshippers that devotion should be balanced. And his story with Goliath reminds everyone that victory belongs to God, not to the strongest army. David’s son Solomon continued his legacy — read his story in Solomon (Sulayman), or explore The Prophets in Islam.

David (Dawud): The Prophet-King Who Sang God's Praise

Key takeaways

  • Muslims honour David as both a prophet and a king, and believe God gave him the Psalms (Zabur).
  • He defeated Goliath as a young man by God's permission.
  • The mountains and birds joined him in praising God.
  • The Prophet ﷺ praised David's prayer, his fasting and his habit of earning his own living.

Sources

Welcome — how would you describe yourself?

We’ll suggest the most relevant articles for you. Everything on the site stays open to everyone.

Privacy Policy