Numbers 15:32-36 While the people of Israel were in the wilderness, they found a man gathering sticks on the Sabbath day. 33 And those who found him gathering sticks brought him to Moses and Aaron and to all the congregation. 34 They put him in custody, because it had not been made clear what should be done to him. 35 And the Lord said to Moses, “The man shall be put to death; all the congregation shall stone him with stones outside the camp.” 36 And all the congregation brought him outside the camp and stoned him to death with stones, as the Lord commanded Moses.
Exodus 21:15 “Whoever strikes his father or his mother shall be put to death.
Exodus 21:12 “Whoever strikes a man so that he dies shall be put to death.
Deuteronomy 21:18-21 If a man has a stubborn and rebellious son who will not obey the voice of his father or the voice of his mother, and, though they discipline him, will not listen to them, then his father and his mother shall take hold of him and bring him out to the elders of his city at the gate of the place where he lives, and they shall say to the elders of his city, ‘This our son is stubborn and rebellious; he will not obey our voice; he is a glutton and a drunkard.’ Then all the men of the city shall stone him to death with stones. So you shall purge the evil from your midst, and all Israel shall hear, and fear.
Leviticus 24:16 Whoever blasphemes the name of the Lord shall surely be put to death. All the congregation shall stone him. The sojourner as well as the native, when he blasphemes the Name, shall be put to death.
https://www.openbible.info/topics/punishment_and_justice