If a third of the fetus emerged and one sold it to a gentile while it was not yet sanctified, and afterwards another third emerged—according to the Rambam, for whom it is sanctified retroactively, the first third also became sanctified, and it is forbidden to give it to a gentile. For only a blemished bechor is permitted even to a gentile, as it is written, "as the gazelle and as the hart," but not an unblemished bechor. Even if it became a tereifah, we do not read concerning it "as the gazelle and as the hart," since it is a tereifah and is forbidden to an Israelite, and it is not similar to a gazelle and a hart; consequently, its law is like an unblemished bechor, and it is forbidden for benefit and requires burial. But according to Rashi, the Tosafot, and the Rosh, for whom it is sanctified from this point forward, the first third remains in its permitted state and is not sanctified. And similarly, if the first third emerged via a caesarean section, which has no sanctity of a bechor, and two-thirds emerged via the womb, and the sanctity takes effect upon it at the middle third—which constitutes the majority of the offspring—according to the Rambam, for whom we follow the retroactive principle, it is not sanctified. For from the majority that was fit to be sanctified, the primary part emerged via a caesarean section, such that when the majority was completed—meaning slightly more than half—the majority of this majority was via a caesarean section. But according to Rashi, the Tosafot, and the Rosh, the first third is not taken into account at all, and behold, two-thirds emerged via the womb and it is sanctified as a bechor.
יצא שליש עובר ומכרו לכותי שעדיין אינו קדוש ואח"כ יצא שליש אחר להרמב"ם דלמפרע הוא קדוש נתקדש גם השליש הראשון ואסור ליתנו לכותי דרק בכור בעל מום מותר אף לכותי כדכתיב כצבי וכאיל אבל לא בכור תם אף שנעשה טריפה דלא קרינן ביה כצבי וכאיל כיון שהוא טריפה ואסור לישראל ואינו דומה לצבי ואיל ממילא דדינו כבכור תם ואסור בהנאה וטעון קבורה ולרש"י ותוס' והרא"ש דמכאן ולהבא הוא קדוש השליש הראשון היא בהתירו ואינו קדוש וכן אם שליש הראשון יצא דרך דופן דאין בזה קדושת בכור ושני שלישית דרך רחם והקדושה חלה עליו בשליש האמצע דהוה רוב הולד להרמב"ם דאזלינן בתר למפרע אינו קדוש שהרי מהרוב הראוי להתקדש יצא העיקר דרך דופן באופן שכשנשלם הרוב והיינו מעט יותר ממחצה הוי רובו של זה הרוב דרך דופן ולרש"י ותוס' ורא"ש השליש הראשון אינו בחשבון כלל והרי יצאו שני שלישים דרך רחם וקדוש בבכורה.