If he did something that invalidates a fast before reaching that place...
If he did something that invalidates a fast before reaching that place, the fast of that day is not obligatory for him and he must make it up [6] . A woman who is in a state of her monthly period or childbirth bleeding is exempted from Ramadan fast for the period she is in that state. It is not allowed for such a woman to fast; otherwise, her fast is void. However, she has to observe the reparation fast (qadā’) after the month of Ramadan.
If a pregnant woman has reasonable grounds to fear that fasting would harm her or her baby, then, she doesn’t need to fast, [Fast is not even allowed for her in this regard], otherwise, she must fast. Meanwhile, if the fast will harm her, she must give Fidyah [i.e., one Mudd (750 grams)] of food each day. But if the fast will harm…