Umm Habiba asked the Messenger of Allah ﷺ about the blood (which flows beyond the period of menstruation). 'A'isha said: I saw her wash-tub full of blood. The Messenger of Allah ﷺ said: Remain away (from prayer) equal (to the length of time) that your menses prevented you. After this (after the period of usual courses) bathe yourself and offer prayer. (Using translation from Muslim 334e)
إِنَّ أُمَّ حَبِيبَةَ سَأَلَتْ رَسُولَ اللهِ ﷺ عَنِ الدَّمِ؟ فَقَالَتْ عَائِشَةُ قَدْ رَأَيْتُ مِرْكَنَهَا مَلْآنَ دَمًا فَقَالَ لَهَا رَسُولُ اللهِ ﷺ امْكُثِي قَدْرَ مَا كَانَتْ تَحْبِسُكِ حَيْضَتُكِ ثُمَّ اغْتَسِلِي وَصَلِّي