The Rambam · Sefer Madda
הלכות עבודה זרה וחוקות הגויים ז׳Foreign Worship and Customs of the Nations 7
Chapter 7 of 12 in Foreign Worship and Customs of the Nations — 19 halachot
Halacha 1א׳
מִצְוַת עֲשֵׂה הִיא לְאַבֵּד עֲבוֹדַת כּוֹכָבִים וּמְשַׁמְּשֶׁיהָ וְכָל הַנַּעֲשֶׂה בִּשְׁבִילָהּ שֶׁנֶּאֱמַר (דברים יב ב) "אַבֵּד תְּאַבְּדוּן אֶת כָּל הַמְּקוֹמֹת" וְנֶאֱמַר (דברים ז ה) "כִּי אִם כֹּה תַעֲשׂוּ לָהֶם" וְגוֹ'. וּבְאֶרֶץ יִשְׂרָאֵל מִצְוָה לִרְדֹּף אַחֲרֶיהָ עַד שֶׁנְּאַבֵּד אוֹתָהּ מִכָּל אַרְצֵנוּ. אֲבָל בְּחוּץ לָאָרֶץ אֵין אָנוּ מְצֻוִּין לִרְדֹּף אַחֲרֶיהָ אֶלָּא כָּל מָקוֹם שֶׁנִּכְבּשׁ אוֹתוֹ נְאַבֵּד כָּל עֲבוֹדַת כּוֹכָבִים שֶׁבּוֹ. שֶׁנֶּאֱמַר (דברים יב ג) "וְאִבַּדְתֶּם אֶת שְׁמָם מִן הַמָּקוֹם הַהוּא". בְּאֶרֶץ יִשְׂרָאֵל אַתָּה מְצֻוֶּה לִרְדֹּף אַחֲרֵיהֶן וְאִי אַתָּה מְצֻוֶּה לִרְדֹּף אַחֲרֵיהֶן בְּחוּץ לָאָרֶץ:
An affirmative precept enjoins the destruction of any idol, articles subsidiary to its worship, and everything made for its sake, as it is said, "Ye shall surely destroy all the places (wherein the nations that ye are to dispossess served their gods) (Deut. 12:2); and it is further said "but thus shall ye deal with them, (ye shall break down their altars") (ibid. 7:5). In the land of Israel, it is a duty actively to pursue idolatry till we have exterminated it from the whole of our country. Outside the Holy Land, however, we are not so commanded; but only that whenever we acquire any territory by conquest, we should destroy all the idols found there, as it is said, "And ye shall destroy their name out of that place" (Deut. 12:3); that is, in the Land of Israel, thou art enjoined actively to pursue them but not outside the Holy Land.
Halacha 2ב׳
עֲבוֹדַת כּוֹכָבִים וּמְשַׁמְּשֶׁיהָ וְתִקְרֹבֶת שֶׁלָּהּ וְכָל הַנַּעֲשֶׂה בִּשְׁבִילָהּ אָסוּר בַּהֲנָאָה שֶׁנֶּאֱמַר (דברים ז כו) "וְלֹא תָבִיא תוֹעֵבָה אֶל בֵּיתֶךָ" וְכָל הַנֶּהֱנֶה בְּאֶחָד מִכָּל אֵלּוּ לוֹקֶה שְׁתַּיִם. אַחַת מִשּׁוּם וְלֹא תָבִיא. וְאַחַת מִשּׁוּם וְלֹא יִדְבַּק בְּיָדְךָ מְאוּמָה מִן הַחֵרֶם:
An idol, articles subsidiary to its worship, sacrifices offered to it, and anything made for its sake, are forbidden to be used, as it is said, "And thou shalt not bring an abomination into thy house" (ibid. 7:26). Whoever makes use of any of these things is punished with stripes twice; once, for violating the prohibition "thou shalt not bring etc." (ibid. 7:26), and once, for violating the prohibition "and there shall cleave naught of the devoted thing to thy hand" (ibid. 13:18).
Halacha 3ג׳
בְּהֵמָה שֶׁהִקְרִיבוּהָ כֻּלָּהּ לַעֲבוֹדַת כּוֹכָבִים אֲסוּרָה בַּהֲנָאָה אֲפִלּוּ פִּרְשָׁהּ וְעַצְמוֹתֶיהָ וְקַרְנֶיהָ וּטְלָפֶיהָ וְעוֹרָהּ הַכּל אָסוּר בַּהֲנָאָה. לְפִיכָךְ אִם הָיָה בָּעוֹר סִימָן שֶׁיּוֹדֵעַ בּוֹ שֶׁזֶּה הָעוֹר תִּקְרֹבֶת עֲבוֹדַת כּוֹכָבִים הוּא כְּגוֹן שֶׁהָיוּ עוֹשִׂים שֶׁקּוֹרְעִים קֶרַע עָגֹל כְּנֶגֶד הַלֵּב וּמוֹצִיאִין הַלֵּב הֲרֵי כָּל אוֹתָן הָעוֹרוֹת שֶׁהֵן כָּךְ אֲסוּרִין בַּהֲנָאָה וְכֵן כָּל כַּיּוֹצֵא בָּזֶה:
No use may be made of a beast that has been wholly offered up to an idol. This prohibition applies to its dung, bones, horns, hoofs and hide, and every part of it. Hence, if a mark on the hide indicates that it came off a beast that had been offered up to an idol—as, for example, a circular perforation which idolaters used to make over the heart, through which that organ was extracted—all the hides with this characteristic are forbidden to be used. And so with all similar indications.
Mishneh Torah, Torat Emet 363 edition, via Sefaria — public domain
English: The Mishneh Torah by Maimonides, tr. Moses Hyamson, 1937-1949 — public domain