Surah Al-Anbya, Ayah 78 (21:78)
وَدَاوُۥدَ وَسُلَيۡمَٰنَ إِذۡ يَحۡكُمَانِ فِي ٱلۡحَرۡثِ إِذۡ نَفَشَتۡ فِيهِ غَنَمُ ٱلۡقَوۡمِ وَكُنَّا لِحُكۡمِهِمۡ شَٰهِدِينَ ٧٨
Arabic: King Fahd Complex Hafs text.
English translation
78. And (remember) Dâwûd (David) and Sulaimân (Solomon), when they gave judgement in the case of the field in which the sheep of certain people had pastured at night; and We were witness to their judgement.
Hilali and Khan (QuranEnc.com)