Negative commandment · Lo Ta’aseh #25 of 613
To not benefit from an offering to idolatry
שלא ליהנות בעבודה זרה, ובכל משמשיה ובתקרובת שלה וביין שנתנסך לה
The verse · Devarim 7:26
וְלֹא־תָבִיא תוֹעֵבָה אֶל־בֵּיתֶךָ וְהָיִיתָ חֵרֶם כָּמֹהוּ שַׁקֵּץ תְּשַׁקְּצֶנּוּ וְתַעֵב תְּתַעֲבֶנּוּ כִּי־חֵרֶם הוּא
“Neither shalt thou bring an abomination into thy house, lest thou become accursed like it: but thou shalt utterly detest it, and thou shalt utterly abhor it; for it is a cursed thing.”
The Rambam’s words
Not to benefit from false gods, from any of their accessories, anything offered to them, or any wine brought as a libation for them, as [Deuteronomy 7:26] states: "Do not bring an abomination into your house."
שלא ליהנות בעבודה זרה, ובכל משמשיה ובתקרובת שלה וביין שנתנסך לה, שנאמר "ולא תביא תועבה אל ביתך" (דברים ז,כו).
Why · Sefer HaChinuch #429
To not benefit from an offering to idolatry
“It is from the roots of the commandment [that it is] in order to distance all matter of disgusting idolatry.”
Who & when
“And this prohibition is practiced in every place and at all times by males and females.”
Where in the Mishneh Torah
Hilchot Foreign Worship and Customs of the Nations הלכות עבודה זרה וחוקות הגויים