Surah Al-Anbya, ayah 78 (21:78)
Surah Al-Anbya · Makki · ayah 78 of 112 · in Prophets who called and were answered
Ponder Al-Anbya 21:78 in the app →وَدَاوُۥدَ وَسُلَيْمَـٰنَ إِذْ يَحْكُمَانِ فِى ٱلْحَرْثِ إِذْ نَفَشَتْ فِيهِ غَنَمُ ٱلْقَوْمِ وَكُنَّا لِحُكْمِهِمْ شَـٰهِدِينَ
“And [mention] David and Solomon, when they judged concerning the field - when the sheep of a people overran it [at night], and We were witness to their judgement.”
Saheeh International
What does Surah Al-Anbya 21:78 mean?
A field stripped in one night by stray sheep, two prophets judging the case, and Allah witnessing every word of their judgement.
Reflections
Every hearing has a Witness
'And We were witnesses to their judgement.' Two prophets, one of them a king, are hearing a case. And the ayah reminds us who else was witnessing.
The root of shāhid (witness) joins three things, and the first hearers felt all of them. Being present. Knowing. And declaring what you know. A mashhad was a place where people gathered. A wife was mushhid when her husband was at home, and mughīb when he was away. The tongue was called al-shāhid, the one that tells what the eye saw. So shahāda (bearing witness) is never hearsay. It is what you say because you were there. These are established usages. The concise commentaries gloss the phrase plainly: nothing of their judgement was hidden from Us.
Picture an HR manager running a grievance hearing on a video call. Six faces in six boxes. She holds all the power in this meeting. She sets the agenda, decides when people may speak, and will write the outcome letter. It is easy, in that seat, to start feeling like the final word.
The ayah dismantles that feeling. Dawud was a king and a prophet. Sulayman was a prophet. And still the ayah's last word is not about their authority but about Allah's presence. Whoever sits in the judge's chair, at work, in a family or in a court, is also being watched. The decision is not the last word. It is evidence.
That should shrink any ego that grows behind a desk. It is also strangely freeing. You are not the final authority, so you do not have to carry the whole weight of being right alone.
Does Allah need to tell us He was watching, as if to impress us? He needs nothing. We need to know. A judge who remembers the Witness judges differently. So does a parent, a teacher or a manager.
The flock that wandered while its owner slept
'When the people's sheep strayed into it by night.' The verb carries a picture the first hearers knew from their own tents. Nafash is wool pulled apart by the fingers until its fibres separate, loose and scattered. The commentators define the verb as grazing at night without a shepherd. The flock had slipped loose, spread out in the dark, and found the vineyard.
No one in this case did anything wicked. The sheep owner did not drive his flock into his neighbour's crop. He simply was not watching. And the commentaries say the sheep stripped the vines, leaving no leaf and no cluster of grapes.
That is a kind of harm most of us cause at some point. Not malice. Inattention. Something we own or are responsible for, wandering while we are elsewhere, and damaging someone else.
Picture a man whose young dog gets out through a gap in the fence one night. By morning it has dug up his elderly neighbour's whole vegetable patch. The runner beans, the onions, the courgettes she had nursed since March. He did not mean any of it. He was asleep. But it was his dog and his fence.
The case of Dawud and Sulayman begins exactly here. Both prophets treated the owner of the flock as responsible for what his flock did. The ruling details belong to the law books. The moral picture belongs to everyone.
What is your flock? Your dog, your car, your children's online behaviour, the comments section on your post, the team you manage, the habits of a business you own. All of it can stray while you sleep. The ayah does not ask you to watch everything every second. It asks you to own what is yours when it causes harm, and to repair it. The first step is not "I didn't mean to". It is "that was mine".
A vineyard, the night before harvest
Fī al-ḥarth: concerning the tilled field. One lexicon defines ḥarth as casting seed into the ground and preparing it for crops. Another gives the root's first sense as gathering and earning. From tilling came the idea of building up something that lasts. These are established usages.
The early commentators add a detail that makes the loss vivid. Several say the field was a vineyard whose clusters had already come out. One report says the sheep left not a leaf and not a bunch of grapes. So this was not an empty plot. It was a year's labour, the pruning, the tying, the watering, a harvest within reach, gone in one night.
That matters for how we hear the case. The legal question was how to repair the loss. But behind it was a person who had watched a year of his work disappear while he slept.
Picture a woman in her seventies who has grown dahlias on her allotment for thirty years. This summer she has nursed one bed for the village show, staking each stem, feeding them weekly. Two nights before the show, a group of teenagers cut through the allotments in the dark. In the morning the bed is flattened. She stands at the gate for a long time. It is not about the prize. It is about the months.
Justice, in this story, starts by taking that loss seriously. Both prophets did. One commentator explains the reasoning in each of their rulings, and both aim at restoring what the owner had lost. Nobody told the vineyard owner that it was only grapes.
When someone tells you they have lost something they worked on for a long time, do not measure it by its price. Measure it by the months. That is where any fair judgement has to begin, in a court or over a kitchen table.
The judge who wept on his first day
Idh yaḥkumāni: when the two of them were judging. One commentary attaches an old account to this ayah. When an early judge was appointed, a great scholar of his time found him weeping. The new judge had heard that of three kinds of judge, the one who strives and gets it wrong goes to the Fire. He was terrified.
The scholar answered him from this very passage. Allah told the story of Dawud and Sulayman, he said. He praised Sulayman for his understanding, and He did not blame Dawud. Then he named three duties Allah placed on those who judge. Do not sell judgement for a small price. Do not follow your own desires in it. Do not fear anyone but Allah.
And the same commentary adds a hadith from Sahih al-Bukhari that settles the fear. The Prophet ﷺ said that when a judge strives and gets it right he has two rewards. When he strives and gets it wrong, he has one.
Picture a woman who has just been appointed to her first role as a magistrate. The night before her first sitting she lies awake. She keeps imagining the young man she might send away wrongly, the mother she might misjudge. Every possible error plays in her head. By three in the morning she is wondering whether to resign before she starts.
The ayah and this hadith speak directly to her, and to every parent deciding between two children, every manager deciding between two staff. The standard is not perfection. It is sincere effort, free of bribe, bias and fear. Get that right, and even an honest mistake carries a reward.
This is not a licence to be careless. Effort is the condition. But it is a release from the paralysis of fearing you will never be good enough to decide anything at all.
Seen on both sides of the table
There is a small grammatical puzzle in the ayah's last phrase. Li-ḥukmihim: "their" judgement, in the plural, though only two judges are named. One concise commentary says the plural is simply used for two. Another explains it differently: the plural covers the two judges and the two parties to the dispute. On that reading, Allah was witness to all four people in that hearing. The judges, the vineyard owner and the shepherd.
That is a comfort for anyone who has sat on the other side of the table.
Picture a woman who cleaned offices for eleven years and was dismissed after one complaint she says was false. Her employment tribunal is by video link. She sits at her kitchen table with her teenage daughter beside her, translating. The employer has a solicitor in a smart office. She has a plastic folder of payslips and a daughter who has missed school to be there. She feels very small on that screen.
The ayah says she is not invisible. Whatever happens in that hearing, it is happening in front of the One who was shāhid (witness) at Dawud's court too. He knows the eleven years. He knows the complaint. He knows what was said and what was left out.
That does not guarantee the outcome she hopes for, in that tribunal or any other. Human judgement can fail. But it changes what the hearing is. It is not the final record. The final record is being kept by a Witness who was present, who knew, and who will declare what He saw.
If you are waiting for a decision in a dispute that feels stacked against you, put your case to Allah too. Say it plainly, as you would to someone who was there. He was.
Knowledge, integrity and the power to act
This ayah names two people with the root of ḥukm: they "were judging". Earlier in the surah, that root was traced to the bridle that holds a horse back from bolting. Here it becomes the authority to decide between people.
One classical writer, reflecting on this very case, breaks a judge's authority into three parts. The judge tells people what the law says, by his knowledge. He is accepted because of his integrity. And his ruling is carried out because of his power. Knowledge, integrity, power. Take away any one and the judgement fails.
Dawud had all three: a prophet's knowledge, a prophet's integrity, and a king's power to enforce. Sulayman, as the next ayah shows, had understanding too.
That breakdown is useful to anyone who has to decide things for others. Picture the volunteer chair of a residents' association on a large estate. She knows the housing rules better than anyone. Her neighbours trust her completely; she has never once taken a side for gain. But when the council ignores the broken lifts for the fourth month, she has no power to make them act. Her decisions are right and respected, and they change nothing.
Or picture the opposite: a manager with power and no knowledge, or knowledge and power but no one's trust. Each version breaks in its own way.
So a leader has more to ask than whether they are right. Do I know enough? Am I trusted enough? Can I actually carry this out? Where one is missing, work on it, or bring in someone who has it. The two prophets in this ayah judged together for a reason. Leadership is often a team assembling the three things one person lacks.
A common misreading
Often heard: Causing harm means intending it.
Closer to the ayah: The flock strayed at night with no shepherd; nobody meant the damage, yet the owner was responsible. Much harm is inattention, and owning it is the first step.
Often heard: A good judge, parent or manager never gets it wrong.
Closer to the ayah: The standard is sincere effort without bribe, bias or fear. The one who strives and errs still has a reward; the paralysis of perfectionism is not what is asked.
Words to know
غَنَمُ ghanamu
A flock of sheep and goats. One lexicon suggests the word may come from the root's sense of gain: something coming into your hands that was not yours before. Here the gain wanders and becomes another man's loss.
Questions to sit with
- What is "yours" that might be straying and causing harm while you are not watching?
- When someone tells you about a loss, do you measure it by its price or by the months they put into it?
- Which of the three do you most lack in the decisions you make for others: knowledge, trust or the power to act?
Live it today
Think of one harm something of yours caused someone, even unintentionally. Go and own it today with a plain "that was mine", and offer to put it right.
Come back to this ayah when you feel...
when you are hiring or delegating · when you have wronged someone · when you are in a dispute · when you hold power over others
The classical tafsir of this ayah
Tafsir al-Jalalayn · Tafsir Ibn Kathir (abridged) · Tafsir al-Tabari (abridged) · Tafsir al-Qurtubi (abridged) · Tafsir al-Sa'di · Tafsir al-Razi (abridged)
Read the whole surah
The night the grazing stops: a reflection on all of Surah Al-Anbya, from its first ayah to its last.
Ponder Al-Anbya 21:78 in the app →In the app: the Mushaf, every word with its root, side-by-side tafsir, and your own private reflections. Free, no account, works offline.