Leviticus 20:2

2 "You must also tell the people of Israel these things: 'If a person in your country gives one of his children to Molech, that person must be killed. It doesn't matter if he is a citizen or a foreigner living in Israel; you must throw stones at him and kill him.