Mishkat al-Masabih 493
وَعَنْ أَسْمَاءَ بِنْتِ أَبِي بَكْرٍ الصّديق أَنَّهَا قَالَتْ: سَأَلَتِ امْرَأَةٌ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَتْ يَا رَسُولَ اللَّهِ أَرَأَيْتَ إحدانا إِذا أصَاب ثوبها الدَّم من الْحَيْضَة كَيْفَ تَصَنُّعُ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذا أصَاب ثوب إحداكن الدَّم مِنَ الْحَيْضَةِ فَلْتَقْرُصْهُ ثُمَّ لِتَنْضَحْهُ بِمَاءٍ ثُمَّ لتصلي فِيهِ»
From Asmaʾ bint Abi Bakr as-Siddiq, that she said: A woman asked the Messenger of Allah ﷺ: "O Messenger of Allah, what do you think: if menstrual blood gets on the garment of one of us, what should she do?" The Messenger of Allah ﷺ said: "If menstrual blood gets on the garment of one of you, let her scrape it, then sprinkle it with water, then pray in it."