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.'" (AR)
English reference (AR): Vol. 1, Book 1, Hadith 203 (AR)
Arabic reference (AR): Book 1, Hadith 204 (AR)