Yosef Karo, Translation:Shulchan Aruch — Yoreh Deah 184
“ If you arrive to the time of her period when she is pregnant, whether she knows she is pregnant or during the time of nursing, that they are 24 months after the birth of the fetus, even if the fetus dies, you don’t need to separate from the time of the period and you don’t need to check.סעיף ח היתה נחבית במחבא מפני פחד, והגיע שעת וסתה, אינה חוששת לו. הגה: וי"א דוקא אם עבר הוסת ולא בדקה ולא הרגישה, טהורה בלא בדיקה. ”
