Umm Salama bint Abu Umaya reported,

A woman asked the Prophet ﷺ, "I experience continuous bleeding and never become pure. Should I abandon the prayer?"He replied, "No, but leave off prayer for the number of days and nights you used to menstruate." Abu Bakr added in his version, "and estimate them within the month, then perform a full bath, fasten a cloth tightly, and pray."

Ibn Majah 623

Daif

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

عن أم سلمة قالت

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

ابن ماجه 623ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Purification and its sunnahs
Chapter
Woman with istihadah who had counted the days of her menstrual cycles before her bleeding became continuous
Numbering
Darussalam 623
Ibn Majah 623