The Talmud
נזיר דף נ״וNazir 56b
Amud b of Nazir 56 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Nazir 56b · נזיר נ״ו ב
מה ימי חלוטו טעון תגלחת אף ימי ספרו ומה ימי חלוטו אין עולין לו מן המנין אף ימי ספרו
— just as the days of his being declared a leper require shaving, so the days of his counting; and just as the days of his being declared a leper do not count for him towards the number, so the days of his counting.
יכול אף ימי הסגרו כן והדין נותן חלוט מטמא משכב ומושב וימי הסגרו מטמא משכב ומושב אם למדת לימי חלוטו שאין עולין לו מן המנין אף ימי הסגרו אין עולין לו מן המנין
One might think the days of his being shut up are so too; and reason gives it: one declared a leper conveys uncleanness to what is lain upon and what is sat upon, and in the days of his being shut up he conveys uncleanness to what is lain upon and what is sat upon; if you have learnt of the days of his being declared a leper that they do not count for him towards the number, so the days of his being shut up do not count for him towards the number.
אמרת לא אם אמרת בימי חלוטו שכן חלוטו טעון תגלחת ומביא קרבן לפיכך אין עולין תאמר בימי הסגרו שאין טעון תגלחת ואינו מביא קרבן לפיכך יעלו למנין
You have said: No — if you say so of the days of his being declared a leper, since his being declared a leper requires shaving and he brings an offering, therefore they do not count; will you say so of the days of his being shut up, which do not require shaving and he does not bring an offering? Therefore they shall count towards the number.
מכאן אמרו ימי ספרו וימי גמרו אין עולין לו מן המנין אבל ימי הזב והזבה והסגרו של מצורע הרי אלו עולין לו
From here they said: the days of his counting and the days of his completion do not count for him towards the number; but the days of a zav (a man made unclean by an unnatural flux) and a zavah (a woman made unclean by an unnatural flux), and of a leper's being shut up — these count for him.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.