Exodus 22:5

Amplified Bible (AMP)
“If a man causes a field or vineyard to be grazed bare or lets his livestock loose so that it grazes in another man’s field, he shall make restitution from the best of his own field and the best of his own vineyard.

Read Exodus 22:5 in other translations