Exodus 21:29-32

Exodus 21:29-32 AMP

But if the ox has tried to gore on a previous occasion, and its owner has been warned, but has not kept it confined and it kills a man or a woman, the ox shall be stoned and its owner shall be put to death as well. If a ransom is demanded of him [in return for his life], then he shall give whatever is demanded for the redemption of his life. If the ox has gored another’s son or daughter, he shall be dealt with according to this same rule. If the ox gores a male or a female servant, the owner shall give to the servant’s master thirty shekels of silver [the purchase price for a slave], and the ox shall be stoned.

Read Exodus 21