وَدَاوٗدَ وَسُلَيۡمٰنَ اِذۡ يَحۡكُمٰنِ فِىۡ الۡحَـرۡثِ اِذۡ نَفَشَتۡ فِيۡهِ غَنَمُ الۡقَوۡمِۚ وَكُنَّا لِحُكۡمِهِمۡ شٰهِدِيۡنَۙ
And (also call to mind the account of) Dawud (David) and Sulaiman (Solomon) when both of them were to decide (the dispute) of a crop when the goats of a tribe unattended by the shepherd entered the field at night (and destroyed it). And We were witnessing their judgment.