The Prophet ﷺ said, "The woman experiencing prolonged bleeding should still pray, even if blood drips onto the mat."
حدثنا وكيع حدثنا الأعمش عن حبيب عن عروة
عن النبي ﷺ قال تصلي المستحاضة وإن قطر الدم على الحصير
Its isnad is sahih, though there is some discussion regarding whether Habib bin Abu Thabit heard directly from Urwa. The hadith has already appeared at 24027.