Numbers 15:29-30

MSB(i) 29 You shall have the same law for the one who acts in error, whether he is a native-born Israelite or a foreigner residing among you. 30 But the person who sins defiantly, whether a native or foreigner, blasphemes the LORD. That person shall be cut off from among his people.