Exodus 21:36

But if he knew that his ox had pushed with its horns, yesterday and the day before, and its owner did not confine it, then he shall repay an ox for an ox, and he will receive the whole carcass.

Other versions

King James Version

Or if it be known that the ox hath used to push in time past, and his owner hath not kept him in; he shall surely pay ox for ox; and the dead shall be his own.

English Standard Version

Or if it is known that the ox has been accustomed to gore in the past, and its owner has not kept it in, he shall repay ox for ox, and the dead beast shall be his.

New International Version

However, if it was known that the bull had the habit of goring, yet the owner did not keep it penned up, the owner must pay, animal for animal, and the dead animal will be his.