TT #41 · Parshas Tazria · Aliyah 1 · Passuk 5
English: If she bears a female, she shall be impure two weeks as during her menstruation, and she shall remain in a state of blood purification for sixty-six days.
Chabad.org — Chumash, English translation + Rashi for Vayikra 12:5
Torah Temimah cites Niddah 38b.
English: The Sages taught: “She shall remain” includes a woman who experiences difficult labor during the eighty days following the birth of a girl; all blood she sees is pure until the child is born. Rabbi Eliezer declares her impure.
Textual comparison
A woman whose labor is difficult during the eighty-day period following the birth of a female remains in a state of purity with respect to the blood she sees until the child is born.