Narrated Asma'
A woman came to the Prophet (ﷺ) and said, "If anyone of us gets menses in her clothes then what should she do?" He replied, "She should (take hold of the soiled place), rub it and put it in the water and rub it in order to remove the traces of blood and then pour water over it. Then she can pray in it."
Narrated `Aisha
Fatima bint Abi Hubaish came to the Prophet (ﷺ) and said, "O Allah's Messenger (ﷺ) I get persistent bleeding from the uterus and do not become clean. Shall I give up my prayers?" Allah's Messenger (ﷺ) replied, "No, because it is from a blood vessel and not the menses. So when your real menses begins give up your prayers and when it has finished wash off the blood (take a bath) and offer your prayers." Hisham (the sub narrator) narrated that his father had also said, (the Prophet (ﷺ) told her): "Perform ablution for every prayer till the time of the next period comes."