Islamic Ruling on Purity Period Between Two Menstrual Cycles
The Islamic ruling is that the minimum purity period between two menstruations is fifteen days, and any bleeding before that is counted as istihadah, not menstruation.

Islamic scholars explain in this fatwa that the minimum purity period between two menstrual cycles is fifteen days. This means a woman must be clean for at least fifteen days between one menstruation and the next.
If blood appears before fifteen days are completed, then this blood is not counted as menstruation. Instead, it is considered istihadah, which is illness blood. Because of this, the rules of menstruation do not apply during this time.
According to the Islamic ruling, the woman must clean the blood and maintain purity. After that, she must perform acts of worship such as prayer and fasting. Islamic scholars clearly state that such bleeding does not stop prayer or fasting.
This fatwa is based on the explanation of Islamic scholars found in classical fiqh books.