Should You Continue Fasting If You Get Your Period Just Before Sunset?
It is haram for a Muslim woman to continue fasting when she is menstruating. If she gets her period while fasting, her fast is spoiled, even if the blood comes a moment before sunset, and she has to make that up if it was an obligatory fast.
428,730