It is narrated from Sayyidah Asma bint Abi Bakr (may Allah be pleased with her) that she asked the Messenger of Allah (peace and blessings be upon him) and said: O Messenger of Allah! If one of us menstruates in her garment and sees the blood, what should she do? He (peace and blessings be upon him) said: "When one of you sees that in her garment, let her rub it with water, then sprinkle it, then pray in it."
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 20667