Question :

What should a woman who is in a state of menstruation, or confinement do if she became ritually pure during the day of Ramadhaan ?

The Answer :

If she became pure during the day time of Ramadhaan, it is desirable for her to fast the rest of that day, and to make up for it along with the days that she had missed due to menstruation.