All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger. We ask Allaah to exalt his mention as well as that of his family and all his companions.
What is dedicated to other than Allaah upon slaughtering is forbidden by the text of the Quran. Allaah Says (which means): {Prohibited to you are dead animals, blood, the flesh of swine, and that which has been dedicated to other than Allaah.}[Quran 5:3]. And it is forbidden to eat the food that is cooked along with this forbidden meat because some of its pieces and its soup will infiltrate into the food.
Allaah Knows best.