משנה אויף בראשית 35:17

וַיְהִ֥י בְהַקְשֹׁתָ֖הּ בְּלִדְתָּ֑הּ וַתֹּ֨אמֶר לָ֤הּ הַמְיַלֶּ֙דֶת֙ אַל־תִּ֣ירְאִ֔י כִּֽי־גַם־זֶ֥ה לָ֖ךְ בֵּֽן׃

און עס איז געװען, אין איר שװערער געבורט, האָט די הײבין צו איר געזאָגט: זאָלסט ניט מוֹרא האָבן, װאָרום אױך דאָס איז דיר אַ זון.

Mishnah Chullin

If an animal was having difficulty giving birth and the fetus put forth a limb and then put it back in, it may be eaten [when its mother is slaughtered]. If it put forth its head, even though it put it back in, it is considered as born. Whatever is cut off from the fetus within the womb [and left inside] may be eaten, but whatever is cut off from the spleen or kidneys [of the animal and left inside] may not be eaten. This is the rule: that which is from the body of the animal is forbidden, but that which is not from the body of the animal is permitted.
פֿרעגט אַ רבֿBookmarkShareCopy

Mishnah Niddah

A woman who is having difficult labor is regarded as a menstruant. If she had difficult labor for three days of the eleven days and she ceased having pains for twenty-four hours and then gave birth, she is regarded as having given birth in zivah, the words of Rabbi Eliezer. Rabbi Joshua says: a night and a day, as the night and the day of Shabbat. That she ceased from having pain, but not from bleeding.
פֿרעגט אַ רבֿBookmarkShareCopy