Exodus 21:36 CJB

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.