I heard a woman asking Ayesha about a woman whose menstruation had become irregular and who was bleeding continuously. Ayesha replied, "The Messenger of Allah ﷺ instructed me to tell such a woman to consider the number of days she used to menstruate each month when her cycle was regular, then count that same number of days, abstain from prayer during them, then take a full bath, fasten a cloth tightly around herself, and pray."
حدثنا موسى بن إسمعيل حدثنا أبو عقيل
سمعت امرأة تسأل عائشة عن امرأة فسد حيضها وأهريقت دما فأمرني رسول الله ﷺ أن آمرها فلتنظر قدر ما كانت تحيض في كل شهر وحيضها مستقيم فلتعتد بقدر ذلك من الأيام ثم لتدع الصلاة فيهن أو بقدرهن ثم لتغتسل ثم لتستثفر بثوب ثم لتصل
No references are available.
[Its chain of transmission is daif] Bayhaqi narrated it, 1/343, from the hadith of Abu Dawud through him, Bahiyyah is unknown as a source for takhrij, and Abu Aqeel Yahya bin Mutawakkil is daif. Dhahabi said, "They graded him daif" (Kashif, 3/233).