(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.