Leviticus 24:12-14
12 They put him in custody until the will of the Lord should be made clear to them.
13 Then the Lord said to Moses:
14 “Take the blasphemer outside the camp. All those who heard him are to lay their hands on his head, and the entire assembly is to stone him.