(Imām Bukhārī narrates): Abdullah bin Yusuf narrated to us, he said: Imam Malik informed us, from Hisham, from Fatimah bint Al-Mundhir, from Hazrat Asma bint Abi Bakr (may Allāh be pleased with her), she says that
a woman asked the Messenger of Allāh ﷺ; she said: O Messenger of Allāh! Tell us, when the blood of menstruation gets on the clothes of one of us, what should she do? Then the Messenger of Allāh ﷺ said: When the blood of menstruation gets on the clothes of one of you, she should scrape it off, then wash it with water, then pray in it.
Reference: Sahih Al Bukhari 307