It was narrated that 'Aishah said:
"Umm Habibah bint Jahsh suffered Istihadah (non-menstrual vaginal bleeding) for seven years. She complained about that to the Messenger of Allah (ﷺ) and the Messenger of Allah (ﷺ) said: 'That is not menstruation; rather that is (bleeding from) a vein, so perform Ghusl then pray.'" (DE)
English reference (DE): Vol. 1, Book 1, Hadith 203 (DE)
Arabic reference (DE): Book 1, Hadith 204 (DE)