חולין ד:ג · Chullin 4:3

בְּהֵמָה שֶׁמֵּת עֻבָּרָהּ בְּתוֹךְ מֵעֶיהָ וְהוֹשִׁיט הָרוֹעֶה אֶת יָדוֹ וְנָגַע בּוֹ, בֵּין בִּבְהֵמָה טְמֵאָה, בֵּין בִּבְהֵמָה טְהוֹרָה, טָהוֹר. רַבִּי יוֹסֵי הַגְּלִילִי אוֹמֵר, בִּטְמֵאָה, טָמֵא, וּבִטְהוֹרָה, טָהוֹר. הָאִשָּׁה שֶׁמֵּת וְלָדָהּ בְּתוֹךְ מֵעֶיהָ וּפָשְׁטָה חַיָּה אֶת יָדָהּ וְנָגְעָה בוֹ, הַחַיָּה טְמֵאָה טֻמְאַת שִׁבְעָה, וְהָאִשָּׁה טְהוֹרָה עַד שֶׁיֵּצֵא הַוָּלָד:
With regard to an animal whose fetus died in its womb and the shepherd reached his hand into the womb and touched the fetus, both in the case of a non-kosher animal and in the case of a kosher animal the fetus does not have the status of an animal carcass that imparts ritual impurity, and the shepherd remains ritually pure. Rabbi Yosei HaGelili says: In the case of a non-kosher animal it is impure, and in the case of a kosher animal it is pure. With regard to a woman whose fetus died in her womb and the midwife extended her hand into the womb and touched the fetus, the midwife is thereby rendered impure with the seven- day impurity imparted by a corpse, and the woman remains ritually pure until the offspring emerges from the womb.

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

בְּהֵמָה → an animal [ב - ה - ם]שֶׁמֵּת → whose died [מ - ו - ת]עֻבָּרָהּ → its fetus [ע - ב - ר]בְּתוֹךְ → inside [ת - ו - ך]מֵעֶיהָ → its womb [מ - ע - ה]וְהוֹשִׁיט → and reached [י - שׁ - ט]הָרוֹעֶה → the shepherd [ר - ע - ה]אֶת → — יָדוֹ → his hand [י - ד - ה]וְנָגַע → and touched [נ - ג - ע]בּוֹ → it בֵּין → whether [ב - י - ן]בִּבְהֵמָה → in an animal [ב - ה - ם]טְמֵאָה → non-kosher [ט - מ - א]בֵּין → or [ב - י - ן]בִּבְהֵמָה → in an animal [ב - ה - ם]טְהוֹרָה → kosher [ט - ה - ר]טָהוֹר → ritually pure [ט - ה - ר]רַבִּי → Rabbi [ר - ב - ב]יוֹסֵי → Yosei [י - ס - פ]הַגְּלִילִי → HaGelili [ג - ל - ל]אוֹמֵר → says [א - מ - ר]בִּטְמֵאָה → in a non-kosher one [ט - מ - א]טָמֵא → impure [ט - מ - א]וּבִטְהוֹרָה → and in a kosher one [ט - ה - ר]טָהוֹר → pure [ט - ה - ר]הָאִשָּׁה → With regard to a woman [א - שׁ - ה]שֶׁמֵּת → whose died [מ - ו - ת]וְלָדָהּ → her fetus [י - ל - ד]בְּתוֹךְ → inside [ת - ו - ך]מֵעֶיהָ → her womb [מ - ע - ה]וּפָשְׁטָה → and extended [פ - שׁ - ט]חַיָּה → the midwife [ח - י - ה]אֶת → — יָדָהּ → her hand [י - ד - ה]