The Quran is very clear that there are only four dietary prohibitions. These four prohibitions are found in the following four verses: 2:173, 5:3, 6:145, and 16:115. The verse that best articulates these four dietary prohibitions is 6:145, which states:
6:145 Say, “I do not find in the revelations given to me any food that is prohibited for any eater except: (1) carrion, (2) running blood, (3) the meat of pigs, for it is contaminated, and (4) the meat of animals blasphemously dedicated to other than GOD.” If one is forced (to eat these), without being deliberate or malicious, then your Lord is Forgiver, Most Merciful.
Now there is some debate regarding the fourth dietary prohibition and if it can include non-animal products. The confusion for this line of reasoning is that some translations in regards to the fourth dietary prohibition simply state “that which is dedicated to other than God.” The misunderstanding occurs because in English the word “dedicate” has a wider meaning than the Arabic word uhilla أُهِلَّ which this word is translated from. In English, one can dedicate a book, song, boat, or dish to anyone, but this goes beyond what the word uhilla أُهِلَّ means in Classical Arabic.
The meaning of uhilla أُهِلَّ is to invoke the name of an entity at the moment when one slaughters an animal. So while someone may dedicate all kinds of things to other entities, when it comes to uhilla this is only limited to the dedication that occurs when someone slaughters an animal.
Secondly, notice that the verse clearly states that we are prohibited to eat what was uhilla “to other than God.” This informs us that animals that were slaughtered where no name was mentioned are still lawful to eat. This is important because it shows that despite the person carrying out the slaughter having clearly committed a sin for failing to mention God’s name before carrying out the act, the food from the slaughter is still lawful to eat.
Some argue that because the word animal is not specifically mentioned in this prohibition, therefore, this indicates that this prohibition constitutes all foods beyond what we eat from slaughtering an animal. But the problem with this argument is that such an understanding fails to recognize that the entire verse is clearly in regards to animals as a whole.
The reason this is obvious is because if we look at the other three prohibitions, despite it never mentioning livestock or animals verbatim, the context is clearly only about animals. This is because only an animal can be carrion, مَيْتَةً / maytatan, and only an animal can produce blood poured forth دَمًا مَسْفُوحًا / daman masfūḥan. Therefore, it makes no sense to constitute non-animal products like apples and oranges in either of these categories, despite the word animal never occurring for these prohibitions. This is also why God specifies that in regards to the whole pig only the meat of the pig is prohibited. And additionally, why uhilla again only constitutes animals and not other foods.
This also settles the matter to if it is only the meat of animals that were sacrificed to other than God is prohibited or the whole animal. Since we start with the premise that the verse is in the context of the whole animal and unless the verse states differently then we know that this is what is prohibited. So for instance, the whole animal that is carrion is prohibited, the running blood from a whole animal is prohibited, only the meat of the whole pig is prohibited, and the whole animal dedicated at the time of slaughter to other than God is prohibited.
Additionally, the exclusivity of such prohibition is further reinforced by another word used in the verse, which is the word ūḥiya / أُوحِيَ which in the English translation is where we get the word “revelation”. Wahi is a form of revelation that constitutes not just kitab / scripture, but any form of divine inspiration that was given to the messenger. So this verse is informing us that out of all the divine communication the messenger received what is stated in 6:145 are the only dietary prohibitions. Furthermore, the verse also states “any food for any eater”. This means that out of any food that a person can eat or taste (طَاعِمٍ / ṭāʿimin) the only dietary prohibitions are strictly these four items.
6:145 Say, “I do not find in the revelations given to me any food that is prohibited for any eater except: (1) carrion, (2) running blood, (3) the meat of pigs, for it is contaminated, and (4) the meat of animals blasphemously dedicated to other than GOD.” If one is forced (to eat these), without being deliberate or malicious, then your Lord is Forgiver, Most Merciful.