(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