The Shulchan Aruch · Yoreh De'ah
יורה דעה ד׳Yoreh De'ah 4
Siman 4 of 402 in Yoreh De'ah — 7 se'ifim
הלכות שחיטהRitual Slaughter· siman 4
Se’if 1א׳
הַשּׁוֹחֵט לְשֵׁם אֱלִילִים, אֲפִלּוּ לֹא חִשֵּׁב לְעָבְדָּהּ בִּשְׁחִיטָה זוֹ אֶלָּא חִשֵּׁב בִּשְׁעַת שְׁחִיטָה לִזְרֹק דָּמָהּ אוֹ לְהַקְטִיר חֶלְבָּהּ לַעֲבוֹדַת אֱלִילִים, הֲרֵי זֶה זִבְחֵי מֵתִים, וַאֲסוּרָה בַּהֲנָאָה.
One who slaughters for the sake of idols — even if he did not form the intention to worship it by this slaughter, but formed the intention at the time of the slaughter to sprinkle its blood or to burn its fat for idol-worship — behold, these are sacrifices of the dead, and it is forbidden in benefit.
Se’if 2ב׳
שָׁחַט סְתָם, וְאַחַר כָּךְ, חִשֵּׁב לִזְרֹק דָּמָהּ אוֹ לְהַקְטִיר חֶלְבָּהּ לַעֲבוֹדַת כּוֹכָבִים, הֲרֵי זֶה סָפֵק זִבְחֵי מֵתִים.
If he slaughtered without specifying anything, and afterwards formed the intention to sprinkle its blood or to burn its fat for idol-worship — behold, this is a doubtful case of sacrifices of the dead.
Se’if 3ג׳
יִשְׂרָאֵל שֶׁשָּׁחַט בְּהֶמְתּוֹ שֶׁל גּוֹי, אֲפִלּוּ חִשֵּׁב הָכּוּתִי לַעֲבוֹדַת אֱלִילִים, כְּשֵׁרָה. וְאִם יִשְׂרָאֵל חִשֵּׁב שֶׁיִּזְרֹק הָכּוּתִי לַעֲבוֹדַת אֱלִילִים, פְּסוּלָה. [הַגָּה] וַאֲסוּרָה בַּהֲנָאָה. (בֵּית יוֹסֵף).
An Israelite who slaughtered the animal of a gentile — even if the Kuti formed the intention for idol-worship, it is valid. And if the Israelite formed the intention that the Kuti would sprinkle it for idol-worship, it is invalid. Hagah [Rema]: And it is forbidden in benefit. (Beit Yosef)
Shulchan Aruch, Yoreh De'ah — Torat Emet 357 edition, via Sefaria — public domain
English rendered from the Hebrew for this app — The Gematria's own rendering program. A rendering of the words, not a ruling; practical halacha is learned with a rav