The Talmud
עבודה זרה דף ס״זAvodah Zarah 67b
Amud b of Avodah Zarah 67 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Avodah Zarah 67b · עבודה זרה ס״ז ב
טעמו ולא ממשו אסור ואין לוקין עליו ואם ריבה טעם לפגם מותר
Its taste and not its substance — it is forbidden, and one is not flogged for it. And if it added a taste that spoils, it is permitted.
ולימא אם נתן טעם לפגם מותר הא קמשמע לן דאע"ג דאיכא מילי אחרנייתא דפגמה בהדיה והלכתא כלישנא בתרא דריש לקיש
Then let him say: if it imparted a taste that spoils, it is permitted! This teaches us that even though there are other things that spoil it along with it. And the halachah is in accordance with the latter version of Reish Lakish.
אמר רב כהנא מדברי כולם נלמד נותן טעם לפגם מותר א"ל אביי בשלמא מכולהו לחיי אלא דר"ל אמרו קאמר וליה לא סבירא ליה
Rav Kahana said: from the words of all of them we learn that what imparts a taste that spoils is permitted. Abaye said to him: granted, from all of them — well and good; but Reish Lakish's — he is saying "they said", and he himself does not hold so.
מכלל דאיכא למ"ד נותן טעם לפגם אסור
It follows that there is one who says that what imparts a taste that spoils is forbidden?
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.