Yosef Karo, Shulchan Aruch — Yoreh Deah 4 One who slaughters in the name of idolatry or for some other purpose
“ One who slaughters for idolatry or for another purpose — what's the rule?Contains 7 Seif. Seif 1 One who shechts for the sake of idolatry: even if the did not mean to serve [the idolatry] in this shechita, rather his intent during the shechita was to sprinkle its blood or burn its fat for idolatry — behold it's zivchei methim/ offerings to the dead and forbidden to benefit from. Seif 2 He shechted for no particular reason, then after thought to sprinkle its blood or burn its fat for idolatry — behold it's safek/ doubted [possibly] offered to the dead. ”
