These are the ordinances that you shall set before them:
When you buy a male Hebrew slave, he shall serve six years, but in the seventh he shall go out a free person, without debt.
If he comes in single, he shall go out single; if he comes in married, then his wife shall go out with him.
If his master gives him a wife and she bears him sons or daughters, the wife and her children shall be her master's and he shall go out alone.
But if the slave declares, "I love my master, my wife, and my children; I will not go out a free person,"
then his master shall bring him before God. He shall be brought to the door or the doorpost; and his master shall pierce his ear with an awl; and he shall serve him for life.
When a man sells his daughter as a slave, she shall not go out as the male slaves do.
If she does not please her master, who designated her for himself, then he shall let her be redeemed; he shall have no right to sell her to a foreign people, since he has dealt unfairly with her.
If he designates her for his son, he shall deal with her as with a daughter.
If he takes another wife to himself, he shall not diminish the food, clothing, or marital rights of the first wife.
And if he does not do these three things for her, she shall go out without debt, without payment of money.
Whoever strikes a person mortally shall be put to death.
If it was not premeditated, but came about by an act of God, then I will appoint for you a place to which the killer may flee.
But if someone willfully attacks and kills another by treachery, you shall take the killer from my altar for execution.
Whoever strikes father or mother shall be put to death.
Whoever kidnaps a person, whether that person has been sold or is still held in possession, shall be put to death.
Whoever curses father or mother shall be put to death.
When individuals quarrel and one strikes the other with a stone or fist so that the injured party, though not dead, is confined to bed,
but recovers and walks around outside with the help of a staff, then the assailant shall be free of liability, except to pay for the loss of time, and to arrange for full recovery.
When a slaveowner strikes a male or female slave with a rod and the slave dies immediately, the owner shall be punished.
But if the slave survives a day or two, there is no punishment; for the slave is the owner's property.
When people who are fighting injure a pregnant woman so that there is a miscarriage, and yet no further harm follows, the one responsible shall be fined what the woman's husband demands, paying as much as the judges determine.
If any harm follows, then you shall give life for life,
eye for eye, tooth for tooth, hand for hand, foot for foot,
burn for burn, wound for wound, stripe for stripe.
When a slaveowner strikes the eye of a male or female slave, destroying it, the owner shall let the slave go, a free person, to compensate for the eye.
If the owner knocks out a tooth of a male or female slave, the slave shall be let go, a free person, to compensate for the tooth.
When an ox gores a man or a woman to death, the ox shall be stoned, and its flesh shall not be eaten; but the owner of the ox shall not be liable.
If the ox has been accustomed to gore in the past, and its owner has been warned but has not restrained it, and it kills a man or a woman, the ox shall be stoned, and its owner also shall be put to death.
If a ransom is imposed on the owner, then the owner shall pay whatever is imposed for the redemption of the victim's life.
If it gores a boy or a girl, the owner shall be dealt with according to this same rule.
If the ox gores a male or female slave, the owner shall pay to the slaveowner thirty shekels of silver, and the ox shall be stoned.
If someone leaves a pit open, or digs a pit and does not cover it, and an ox or a donkey falls into it,
the owner of the pit shall make restitution, giving money to its owner, but keeping the dead animal.
If someone's ox hurts the ox of another, so that it dies, then they shall sell the live ox and divide the price of it; and the dead animal they shall also divide.
But if it was known that the ox was accustomed to gore in the past, and its owner has not restrained it, the owner shall restore ox for ox, but keep the dead animal.