Amatul Rahmân Omer:
And (We bestowed Our favours on) David and Solomon. Behold! they gave their (respective) judgment in the disputed matter about a certain crop when the sheep of a certain people strayed into it at night, and We were bearers of witness to the judgment they gave (them).