Ayesha reported,

Fatimah bint Abu Hubaysh came to the Prophet ﷺ and said, "Messenger of Allah, I am a woman who experiences continuous bleeding and never becomes pure. Should I abandon the prayer?"The Messenger of Allah ﷺ replied, "No, that is only a vein and not menstrual blood. When your menstrual period begins, leave the prayer, and when it ends, wash the blood from yourself and pray."The narrator said, Ubayy added, "Then perform ablution for every prayer until that time comes again."

Bukhari 228

Sahih

حدثنا محمد هو ابن سلام قال حدثنا أبو معاوية حدثنا هشام بن عروة عن أبيه

عن عائشة قالت

جاءت فاطمة بنت أبي حبيش إلى النبي ﷺ فقالت يا رسول الله إني امرأة أستحاض فلا أطهر أفأدع الصلاة فقال رسول الله ﷺ لا إنما ذلك عرق وليس بحيض فإذا أقبلت حيضتك فدعي الصلاة وإذا أدبرت فاغسلي عنك الدم ثم صلي قال وقال أبي ثم توضئي لكل صلاة حتى يجيء ذلك الوقت

البخاري 228صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Wudu
Chapter
Washing blood
Numbering
Darussalam 228
Bukhari 228