Al-Anbiyaa • EN-TAFSIR-IBN-ABBAS
﴿ وَدَاوُۥدَ وَسُلَيْمَٰنَ إِذْ يَحْكُمَانِ فِى ٱلْحَرْثِ إِذْ نَفَشَتْ فِيهِ غَنَمُ ٱلْقَوْمِ وَكُنَّا لِحُكْمِهِمْ شَٰهِدِينَ ﴾
“AND [remember] David and Solomon - [how it was] when both of them gave judgment concerning the field into which some people’s sheep had strayed by night and pastured therein, and [how] We bore witness to their judgment:”
(And David and Solomon) We also honoured them with prophethood and wisdom, (when they gave judgement concerning the field) the vineyard of the people, (when people's sheep) other people's sheep (had strayed and browsed therein by night; and We were witnesses to) We had knowledge of (their judgement) the judgement of David and Solomon.