Sahih al-Bukhari 307
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِذَا أَصَابَ ثَوْبَ إِحْدَاكُنَّ الدَّمُ مِنَ الْحَيْضَةِ، فَلْتَقْرُصْهُ ثُمَّ لِتَنْضَحْهُ بِمَاءٍ، ثُمَّ لِتُصَلِّي فِيهِ "
Narrated Asma' bint Abi Bakr:
A woman asked Allah's Messenger (ﷺ), "O Allah's Messenger (ﷺ)! What should we do, if the blood of menses falls on our clothes?" Allah's Messenger (ﷺ) replied, "If the blood of menses falls on the garment of anyone of you, she must take hold of the blood spot, rub it, and wash it with water and then pray in (with it).
Full reference and source
Sahih al-Bukhari 307 In-book : Book 6, Hadith 12 USC-MSA web (English) : Vol. 1, Book 6, Hadith 304 (deprecated)
View source on Sunnah.com (opens in a new tab)