Leviticus 24:16

16Whoever ablasphemes 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.

John 19:7

7The Jews
Greek Ioudaioi probably refers here to Jewish religious leaders, and others under their influence, in that time; also verses 12, 14, 31, 38
answered him, “We have a law, and caccording to that law he ought to die because dhe has made himself the Son of God.”
Copyright information for ESV