Sahih al-Bukhari 306
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنَّمَا ذَلِكِ عِرْقٌ وَلَيْسَ بِالْحَيْضَةِ، فَإِذَا أَقْبَلَتِ الْحَيْضَةُ فَاتْرُكِي الصَّلاَةَ، فَإِذَا ذَهَبَ قَدْرُهَا فَاغْسِلِي عَنْكِ الدَّمَ وَصَلِّي "
Narrated `Aisha:
Fatima bint Abi Hubaish said to Allah's Messenger (ﷺ), "O Allah's Messenger (ﷺ)! I do not become clean (from bleeding). Shall I give up my prayers?" Allah's Messenger (ﷺ) replied: "No, because it is from a blood vessel and not the menses. So when the real menses begins give up your prayers and when it (the period) has finished wash the blood off your body (take a bath) and offer your prayers."
Full reference and source
Sahih al-Bukhari 306 In-book : Book 6, Hadith 11 USC-MSA web (English) : Vol. 1, Book 6, Hadith 303 (deprecated)
View source on Sunnah.com (opens in a new tab)