It is narrated from Asma bint Abi Bakr (may Allah be pleased with her), she states: I asked the Prophet (ﷺ) about menstrual blood that gets on a garment. He (ﷺ) said: "Scrape it off, then rub it with water, then wash it with water, and then pray in it."
Hadith Referenceمسند الإمام الشافعي / كتاب الطهارة / 28
Hadith Takhrijأخرجه مسلم: الطهارة، باب نجاسة الدم وكيفية غسله (291).
Asma bint Abi Bakr (may Allah be pleased with her) narrates: I asked the Prophet ﷺ about menstrual blood, and the rest of the hadith is as in the previous narration.
Hadith Referenceمسند الإمام الشافعي / كتاب الطهارة / 29
Asma bint Abi Bakr (may Allah be pleased with her) narrates: A woman asked the Prophet ﷺ, saying, "If menstrual blood gets on any of our clothes, what do you think she should do?" The Prophet ﷺ replied: "If menstrual blood gets on any of your clothes, she should rub it and wash it with water, then pour clean water over it, and then she may pray in it."
Hadith Referenceمسند الإمام الشافعي / كتاب الطهارة / 30
It is narrated from the wife of the Prophet ﷺ, Umm Salamah (may Allah be pleased with her), that the Prophet ﷺ was asked about a garment that had menstrual blood on it. He ﷺ said: "First, scrape it off, then rub it with water and wash it, then pray in it."
Hadith Referenceمسند الإمام الشافعي / كتاب الطهارة / 31
Hadith Takhrijصحيح من حديث أسماء وهذا إسناد ضعيف جداً فإن شيخ الشافعي متروك، أخرجه أبو داود، الطهارة، باب المرأة تغسل ثوبها الذي تلبسه في حيضها (361).