Exodus 22:5

If there is any damage to a field or a vineyard, when he has released his cattle to pasture on the land of a stranger, he shall repay the best of what he has in his own field, or in his own vineyard, according to the estimation of the damage

Other versions

King James Version

If a man shall cause a field or vineyard to be eaten, and shall put in his beast, and shall feed in another man's field; of the best of his own field, and of the best of his own vineyard, shall he make restitution.

English Standard Version

"If a man causes a field or vineyard to be grazed over, or lets his beast loose and it feeds in another man's field, he shall make restitution from the best in his own field and in his own vineyard.

New International Version

"If a man grazes his livestock in a field or vineyard and lets them stray and they graze in another man's field, he must make restitution from the best of his own field or vineyard.