Exodus 21 36
Or if it is known that the ox was previously in the habit of goring, yet its owner has not confined it, he must make restitution of ox for ox, and the dead animal shall become his.
Or if it is known that the ox was previously in the habit of goring, yet its owner has not confined it, he must make restitution of ox for ox, and the dead animal shall become his.