Бамидбар 15:30 Галаха: Mishneh Torah, Foreign Worship and Customs

וְהַנֶּ֜פֶשׁ אֲשֶֽׁר־תַּעֲשֶׂ֣ה ׀ בְּיָ֣ד רָמָ֗ה מִן־הָֽאֶזְרָח֙ וּמִן־הַגֵּ֔ר אֶת־יְהוָ֖ה ה֣וּא מְגַדֵּ֑ף וְנִכְרְתָ֛ה הַנֶּ֥פֶשׁ הַהִ֖וא מִקֶּ֥רֶב עַמָּֽהּ׃

Но душа, которая делает что-то с высокой рукой, будь он доморощенным или чужим, тот же хулит Господа; и эта душа будет отрезана от его народа.

Mishneh Torah, Foreign Worship and Customs of the Nations

Whosoever admits idolatry as truth, although he be not a worshiper thereof, behold him, he is shaming and blaspheming the Glorified and Awful Name. The idolater's corpse is, therefore hung, even as that of the blasphemer's, and both offenses are punishable by stoning. It is even for this reason that I included the law of the blasphemer in the treatise concerning idolatry, for both of them deny the source of everything.7Keritot, 3b; Sanhedrin, 45b.