It is narrated from Hazrat Asma that a woman came to the court of the Prophet and said, "O Messenger of Allah, if menstrual blood gets on a woman's body (or clothes), what is the ruling?" The Prophet (peace be upon him) said, "Scrape it off, then wash it with water, and pray in it."