"I experience prolonged bleeding and never become pure. Should I abandon the prayer?"He replied, "No, that is only a vein. Perform the ritual bath and then pray."So she would perform the ritual bath for every prayer.Qutayba said that Layth said, Ibn Shihab did not mention that the Messenger of Allah ﷺ commanded Umm Habiba to perform the ritual bath for every prayer, rather it was something she did on her own.
حدثنا قتيبة حدثنا الليث عن ابن شهاب عن عروة عن عائشة أنها قالت استفتت
إني أستحاض فلا أطهر أفأدع الصلاة فقال لا إنما ذلك عرق فاغتسلي ثم صلي فكانت تغتسل لكل صلاة قال قتيبة قال الليث لم يذكر ابن شهاب أن رسول الله ﷺ أمر أم حبيبة أن تغتسل عند كل صلاة ولكنه شيء فعلته هي
Muslim also narrated it in the chapter on menstruation, in the section on the woman with prolonged non-menstrual bleeding, her ritual bath, and her prayer, hadith no. 334, from Qutayba, with the same chain.