נדה ג:ד · Niddah 3:4

הַמַּפֶּלֶת סַנְדָּל אוֹ שִׁלְיָא, תֵּשֵׁב לְזָכָר וְלִנְקֵבָה. שִׁלְיָא בַּבַּיִת, הַבַּיִת טָמֵא. לֹא שֶׁהַשִּׁלְיָא וָלָד, אֶלָּא שֶׁאֵין שִׁלְיָא בְלֹא וָלָד. רַבִּי שִׁמְעוֹן אוֹמֵר, נִמּוֹק הַוָּלָד עַד שֶׁלֹּא יָצָא:
A woman who discharges a sandal fetus, i.e., one that has the form of a sandal fish, and one who discharges an afterbirth observes the strictures of a woman who gave birth both to a male and to a female. If there is an afterbirth in the house, the house is ritually impure, in the sense that everything under the roof contracts impurity imparted by a corpse. The reason is not that the status of an afterbirth is that of an offspring; rather, it is that there is no afterbirth without an offspring. It is clear that the afterbirth contained an offspring that disintegrated after the miscarriage. That offspring rendered the contents of the house impure. Rabbi Shimon says: The house does not become a tent over a corpse, as although there had been an offspring in the afterbirth, the offspring disintegrated, turning to blood, before it emerged from the womb, and it was negated by the majority of blood that accompanied the miscarriage.

Word-by-word Breakdown (מילים ושרשים)

הַמַּפֶּלֶת → who discharges [נ - פּ - ל]סַנְדָּל → a sandal fetus אוֹ → or שִׁלְיָא → an afterbirth [ש - ל - י]תֵּשֵׁב → observes [strictures] [י - שׁ - ב]לְזָכָר → for a male [ז - כ - ר]וְלִנְקֵבָה → and for a female [נ - ק - ב]שִׁלְיָא → If an afterbirth [ש - ל - י]בַּבַּיִת → is in the house [ב - י - ת]הַבַּיִת → the house [ב - י - ת]טָמֵא → is ritually impure [ט - מ - א]לֹא → Not שֶׁהַשִּׁלְיָא → that the afterbirth [ש - ל - י]וָלָד → is an offspring [י - ל - ד]אֶלָּא → rather שֶׁאֵין → that there is no [י - שׁ - ה]שִׁלְיָא → afterbirth [ש - ל - י]בְלֹא → without וָלָד → an offspring [י - ל - ד]רַבִּי → Rabbi [ר - ב - ב]שִׁמְעוֹן → Shimon [ש - מ - ע]אוֹמֵר → says [א - מ - ר]נִמּוֹק → disintegrated [נ - מ - ק]הַוָּלָד → the offspring [י - ל - ד]עַד → before [ע - ד - ד]שֶׁלֹּא → it emerged [י - צ - א]יָצָא → emerged [י - צ - א]