וַיְהִ֥י בְהַקְשֹׁתָ֖הּ בְּלִדְתָּ֑הּ וַתֹּ֨אמֶר לָ֤הּ הַמְיַלֶּ֙דֶת֙ אַל־תִּ֣ירְאִ֔י כִּֽי־גַם־זֶ֥ה לָ֖ךְ בֵּֽן׃
她生產十分艱難的時候,接生婦對她說:«不要害怕,因為這一個又是你的兒子。»
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.
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.