The Talmud
עבודה זרה דף מ״חAvodah Zarah 48a
Amud a of Avodah Zarah 48 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Avodah Zarah 48a · עבודה זרה מ״ח א
מתני׳ שלש אשרות הן אילן שנטעו מתחלה לשם עבודת כוכבים הרי זו אסורה גידעו ופיסלו לשם עבודת כוכבים והחליף נוטל מה שהחליף העמיד תחתיה עבודת כוכבים ונטלה הרי זו מותרת:
MISHNAH. There are three asherot (trees that are worshipped as idols): a tree that he planted from the outset for the sake of idolatry — it is forbidden. If he hewed it down and pruned it for the sake of idolatry, and it sprouted anew, he removes what sprouted anew. If he set an idol beneath it and removed it, it is permitted.
גמ׳ אמרי דבי ר' ינאי והוא שהבריך והרכיב בגופו של אילן
GEMARA. The school of Rabbi Yannai said: and that is where he layered and grafted on the body of the tree itself.
והאנן גידעו ופיסלו תנן
But surely we learnt "he hewed it down and pruned it"!
אלא כי איתמר דרבי ינאי לענין ביטול איתמר דאף על גב דהבריך והרכיב בגופו של אילן כי נטל מה שהחליף שפיר דמי דמהו דתימא כיון דהבריך והרכיב בגופו של אילן כאילן שנטעו מתחלה דמי וליתסר כולה קמ"ל
Rather, when Rabbi Yannai's statement was stated, it was stated with regard to nullification: even though he layered and grafted on the body of the tree itself, once he has removed what sprouted anew, it is quite in order. For it might have entered your mind to say: since he layered and grafted on the body of the tree itself, it is as a tree planted from the outset, and the whole of it should be forbidden. So he teaches us otherwise.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.