Sunan an-Nasa'i
Grading supplied with this record: Sahih (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنَّ هَذِهِ لَيْسَتْ بِالْحَيْضَةِ وَلَكِنْ هَذَا عِرْقٌ فَاغْتَسِلِي وَصَلِّي "
It was narrated from 'Aishah (may Allah be pleased with her) that Umm Habibah, an in-law of the Messenger of Allah (ﷺ), who was married to 'Abdur-Rahman bin 'Awf, suffered Istihadah (non-menstrual vaginal bleeding) for seven years. She consulted the Prophet (ﷺ) about that and the Messenger of Allah (ﷺ) said:
That is not menstruation, rather that is a vein, so perform Ghusl and pray.'"
Full reference and source
Sunan an-Nasa'i English : Vol. 1, Book 1, Hadith 205 Arabic : Book 1, Hadith 206
View source on Sunnah.com (opens in a new tab)