Exodus 21:20-21
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.
21:21 However, if the injured servant survives one or two days, the owner will not be punished, for he has suffered the loss.
Deuteronomy 22:23-24
22:23 If a virgin is engaged to a man and another man meets her in the city and has sexual relations with her,
22:24 you must bring the two of them to the gate of that city and stone them to death, the young woman because she did not cry out though in the city and the man because he violated his neighbor’s fiancĂ©e; in this way you will purge evil from among you.