The Prophets
Al-Anbiya الأنبياء Surah 21, Ayah 78
وَدَاوُۥدَ وَسُلَيْمَـٰنَ إِذْ يَحْكُمَانِ فِى ٱلْحَرْثِ إِذْ نَفَشَتْ فِيهِ غَنَمُ ٱلْقَوْمِ وَكُنَّا لِحُكْمِهِمْ شَـٰهِدِينَ
And David and Solomon, when they gave judgment in the case of the field, when some people’s sheep wandered therein by night; and We were witnesses to their judgment.
Arabic: Tanzil Project. Translation: Talal Itani, ClearQuran.com (CC BY-ND 4.0).