The Talmud
מועד קטן דף י״דMoed Katan 14b
Amud b of Moed Katan 14 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Moed Katan 14b · מועד קטן י״ד ב
ואי אמרת קטן אית ביה פלוגתא נמצאת אבילות נוהגת בקטן
And if you say that in the case of a minor there is a distinction, it turns out that mourning applies to a minor!
והתניא מקרעין לקטן מפני עגמת נפש
But surely it was taught: they rend for a minor because of the distress of soul.
אמר רב אשי מי קתני הא אסורין דלמא יש מהן אסור ויש מהן מותר
Rav Ashi said: does it teach "hence they are forbidden"? Perhaps there are among them some forbidden and there are among them some permitted.
אמימר ואי תימא רב שישא בריה דרב אידי מתני הכי אמר שמואל קטן מותר לגלחו במועד לא שנא נולד במועד ולא שנא נולד מעיקרא
Ameimar — and some say Rav Shisha the son of Rav Idi — taught it: thus said Shmuel: a minor — it is permitted to shave him during the intermediate days of a festival; there is no difference whether he was born during the intermediate days of a festival and there is no difference whether he was born before.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.