Exodus 21:20

21:20 “If a man strikes his male servant or his female servant with a staff so that he or she dies as a result of the blow, he will surely be punished.

Numbers 35:16-24

35:16 “But if he hits someone with an iron tool so that he dies, he is a murderer. The murderer must surely be put to death. 35:17 If he strikes him by throwing a stone large enough that he could die, and he dies, he is a murderer. The murderer must surely be put to death. 35:18 Or if he strikes him with a wooden hand weapon so that he could die, and he dies, he is a murderer. The murderer must surely be put to death. 35:19 The avenger of blood himself must kill the murderer; when he meets him, he must kill him.

35:20 “But if he strikes him out of hatred or throws something at him intentionally so that he dies, 35:21 or with enmity he strikes him with his hand and he dies, the one who struck him must surely be put to death, for he is a murderer. The avenger of blood must kill the murderer when he meets him.

35:22 “But if he strikes him suddenly, without enmity, or throws anything at him unintentionally, 35:23 or with any stone large enough that a man could die, without seeing him, and throws it at him, and he dies, even though he was not his enemy nor sought his harm, 35:24 then the community must judge between the slayer and the avenger of blood according to these decisions.