Surah Al-Anbiya, ayah 78
وَدَاوُۥدَ وَسُلَيْمَٰنَ إِذْ يَحْكُمَانِ فِى ٱلْحَرْثِ إِذْ نَفَشَتْ فِيهِ غَنَمُ ٱلْقَوْمِ وَكُنَّا لِحُكْمِهِمْ شَٰهِدِينَ ﴿٧٨﴾
(78) And [mention] David and Solomon, when they judged concerning the field - when the sheep of a people overran it [at night],[896] and We were witness to their judgement.
- [896] Eating and destroying the crops.