הלכות נדה
ואשה כי תהיה זבה דם יהיה זובה בבשרה שבעת ימים תהיה בנדתה ולמדו חכמים ממדרש הפסוקים שלא בכל מקום שתזוב ממנה דם טמאה אלא דוקא דם הבא מן המקור ברייתא בת"כ כתבה הרי"ף בפ' ב' דשבועות והרא"ש בסוף נדה וזה לשונו ואשה כי תהיה זבה יכול אפי' זבה מ"מ תהא טמאה תלמוד לומר והיא גלתה את מקור דמיה לימד על הדמים שאינם אלא מן המקור: The Laws of Niddah
"When a woman has a discharge, her discharge being blood from her body, she shall remain in her impurity seven days" (Leviticus 15:19). Our sages learnt from explication of the verses that not all blood flows render the discharger impure, but specifically those of uterine blood (a braita from Torat Kohanim). The Ri"f writes in the second chapter of Tractate Shevuot, and the Rosh at the end of Niddah, and this is his language: "'When a woman has a discharge' (ibid.) -- I could have thought any flow of blood would be impure. The Torah teaches therefore 'he has uncovered the source [uterus] of her blood' (Leviticus 20:18) -- teaching regarding the blood that it speaks only of uterine blood."