These are the case laws that you should set before them:
When you buy a male Hebrew slave, he will serve you for six years. But in the seventh year, he will go free without any payment.
If he came in single, he will leave single. If he came in married, then his wife will leave with him.
If his master gave him a wife and she bore him sons or daughters, the wife and her children will belong to her master. He will leave single.
However, if the slave clearly states, "I love my master, my wife, and my children, and I don't want to go free,"
then his master will bring him before God. He will bring him to the door or the doorpost. There his master will pierce his ear with a pointed tool, and he will serve him as his slave for life.
When a man sells his daughter as a slave, she shouldn't be set free in the same way as male slaves are set free.
If she doesn't please her master who chose her for himself, then her master must let her be bought back by her family. He has no right to sell her to a foreign people since he has treated her unfairly.
If he assigns her to his son, he must give her the rights of a daughter.
If he takes another woman for himself, he may not reduce her food, clothing, or marital rights.
If he doesn't do these three things for her, she will go free without any payment, for no money.
Anyone who hits and kills someone should be put to death.
If the killing wasn't on purpose but an accident allowed by God, then I will designate a place to which the killer can run away.
But if someone plots and kills another person on purpose, you should remove the killer from my altar and put him to death.
Anyone who violently hits their father or mother should be put to death.
Anyone who kidnaps a person, whether they have been sold or are still being held, should be put to death.
Anyone who curses their father or mother should be put to death.
When two people are fighting and one hits the other with a stone or with his fist so that he is in bed for a while but doesn't die—
if he recovers and is able to walk around outside with a cane, then the one who hit him shouldn't be punished, except to pay for the loss of time from work and to pay for his full recovery.
When a slave owner hits a male or female slave with a rod and the slave dies immediately, the owner should be punished.
But if the slave gets up after a day or two, the slave owner shouldn't be punished because the slave is the owner's property.
When people who are fighting injure a pregnant woman so that she has a miscarriage but no other injury occurs, then the guilty party will be fined what the woman's husband demands, as negotiated with the judges.
If there is further injury, then you will give a life for a life,
an eye for an eye, a tooth for a tooth, a hand for a hand, a foot for a foot,
a burn for a burn, a bruise for a bruise, a wound for a wound.
When a slave owner hits and blinds the eye of a male or female slave, he should let the slave go free on account of the eye.
If he knocks out a tooth of a male or female slave, he should let the slave go free on account of the tooth.
When an ox gores a man or a woman to death, the ox should be stoned to death, and the meat of the ox shouldn't be eaten. But the owner of the ox shouldn't be punished.
However, if the ox had gored people in the past and its owner had been warned but didn't watch out for it, and the ox ends up killing a man or a woman, then the ox should be stoned to death, and its owner should also be put to death.
If the owner has to pay compensation instead, he must pay the agreed amount to save his life.
If the ox gores a boy or a girl, this same case law applies to the owner.
If the ox gores a male or female slave, the owner will pay thirty silver shekels to the slave's owner, and the ox will be stoned to death.
When someone leaves a pit open or digs a pit and doesn't cover it and an ox or a donkey falls into the pit,
the owner of the pit must make good on the loss. He should pay money to the ox's owner, but he may keep the dead animal.
When someone's ox hurts someone else's ox and it dies, then they should sell the live ox and divide its price. They should also divide the dead animal between them.
But if the ox was known for goring in the past and its owner hadn't watched out for it, the owner must make good the loss, an ox for an ox, but may keep the dead animal.