Leviticus 20:2

You shall speak these things to the sons of Israel: A man among the sons Israel, or among the newcomers who live in Israel, if he will have given from his seed to the idol Moloch, he shall be put to death: the people of the land shall stone him

Other versions

King James Version

Again, thou shalt say to the children of Israel, Whosoever he be of the children of Israel, or of the strangers that sojourn in Israel, that giveth any of his seed unto Molech; he shall surely be put to death: the people of the land shall stone him with stones.

English Standard Version

"Say to the people of Israel, Any one of the people of Israel or of the strangers who sojourn in Israel who gives any of his children to Molech shall surely be put to death. The people of the land shall stone him with stones.

New International Version

"Say to the Israelites: 'Any Israelite or any alien living in Israel who gives any of his children to Molech must be put to death. The people of the community are to stone him.