Exodus 21:12-15 NLT

12 "Anyone who hits a person hard enough to cause death must be put to death.
13 But if it is an accident and God allows it to happen, I will appoint a place where the slayer can run for safety.
14 However, if someone deliberately attacks and kills another person, then the slayer must be dragged even from my altar and put to death.
15 "Anyone who strikes father or mother must be put to death.