The Talmud
נדה דף ל״טNiddah 39b
Amud b of Niddah 39 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Niddah 39b · נדה ל״ט ב
ואמר רב יהודה אמר שמואל ל"ש אלא ט"ו לטבילתה שהן כ"ב לראייתה
And Rav Yehuda said in the name of Shmuel: they taught this only of the fifteenth from her immersion, which is the twenty-second from her seeing.
ושינתה ליום כ"ז דכי הדרי ואתו עשרין ותרתי קיימא לה בתוך ימי זיבתה וקתני זה וזה אסורין אלמא דחיישינן לה
And she changed to the twenty-seventh — for when the twenty-second comes round again, it stands for her within the days of her flux — and it teaches "both this and that are forbidden": evidently we are concerned for her.
וקסבר רב פפא עשרין ותרתין מעשרין ותרתין מנינן נדה ופתחה מעשרין וז' מנינן
And Rav Pappa holds: the twenty-two we reckon from the twenty-second, and the niddah and its opening we reckon from the twenty-seventh.
א"ל רב הונא בריה דרב יהושע לרב פפא ממאי דלמא עשרין ותרתין נמי מעשרין וז' מנינן דכי הדרי ואתו עשרין ותרתין קיימא לה בתוך ימי נדותה
Rav Huna the son of Rav Yehoshua said to Rav Pappa: from what? Perhaps the twenty-two too we reckon from the twenty-seventh, for when the twenty-second comes round again, it stands for her within the days of her niddah.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.