It is narrated from Sayyida Asma bint Abi Bakr Siddiq (may Allah be pleased with them) that a woman asked the Messenger of Allah (peace be upon him), "If menstrual blood gets on our clothes, what should we do?" The Prophet (peace be upon him) said: "When menstrual blood gets on any one of your clothes, rub it off, then wash it with water, then pray in that garment."
Related hadith on this topic