"That is (bleeding from) a vein, so when the time of menstruation comes, stop praying, and when it goes, then wash the blood from yourself then pray."
Sunan an-Nasa'i Book 1, Hadith 202