Exodus
Chapters 21:32-36
Amplified Bible
32If the ox gores a manservant or a maidservant, the owner shall give to their master thirty shekels of silver, and the ox shall be stoned.
33If a man leaves a pit open or digs a pit and does not cover it and an ox or a donkey falls into it,
34The owner of the pit shall make it good; he shall give money to the animal's owner, but the dead beast shall be his.
35If one man's ox hurts another's so that it dies, they shall sell the live ox and divide the price of it; the dead ox also they shall divide between them.
36Or if it is known that the ox has gored in the past, and its owner has not kept it closed in, he shall surely pay ox for ox, and the dead beast shall be his.