Exodus 21:11-21

11 If he doesn't give her these three things, she can go free, without paying any money for her freedom.
12 "Whoever strikes someone and kills him must be put to death.
13 If it wasn't done intentionally, but God let it happen, the killer should flee to a place I will set aside for you.
14 But whenever someone becomes so angry that he plans to kill his neighbor, you must take him away from my altar and put him to death.
15 "Whoever hits his father or mother must be put to death.
16 "Whoever kidnaps another person must be put to death, whether he has sold the kidnapped person or still has him.
17 "Whoever curses his father or mother must be put to death.
18 "This is what you must do whenever men quarrel and one hits the other with a rock or with his fist and injures him so that he has to stay in bed.
19 If the injured man can get up again and walk around outside with a cane, the one who hit him must not be punished. He must pay the injured man for the loss of his time and for all his medical expenses.
20 "Whenever an owner hits his male or female slave with a stick so that the slave dies from the beating, the owner must be punished.
21 But if the slave gets up in a day or two, the owner must not be punished. The slave is his property.