The Prophet ﷺ said, "The woman experiencing prolonged bleeding should leave off prayer during the days of her menstrual period. Then she should perform a full bath, perform ablution for each prayer, and fast and pray."
حدثنا أبو بكر بن أبي شيبة وإسمعيل بن موسى قالا حدثنا شريك عن أبي اليقظان
عن النبي ﷺ قال المستحاضة تدع الصلاة أيام أقرائها ثم تغتسل وتتوضأ لكل صلاة وتصوم وتصلي
Its chain of transmission is daif. Abu Dawud narrated it in Kitab al-Taharah, the previous chapter, no. 297, and daifed it.* Abu Yaqzan bin Umayr, previously mentioned at no. 156, and his teacher's reliability is unknown, see Taqrib and other works.