Exodus 21:36

36 But if it is known that the ox was in the habit of goring in the past, and the owner did not confine it; he must pay ox for ox, but the dead animal will be his.

Exodus 21:36 In-Context

34 the owner of the cistern must make good the loss by compensating the animal's owner; but the dead animal will be his.
35 "If one person's ox hurts another's, so that it dies, they are to sell the live ox and divide the revenue from the sale; and they are also to divide the dead animal.
36 But if it is known that the ox was in the habit of goring in the past, and the owner did not confine it; he must pay ox for ox, but the dead animal will be his.
Complete Jewish Bible Copyright 1998 by David H. Stern. Published by Jewish New Testament Publications, Inc. All rights reserved. Used by permission.