The Talmud
מועד קטן דף ט׳Moed Katan 9a
Amud a of Moed Katan 9 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Moed Katan 9a · מועד קטן ט׳ א
מותרין לישא ערב הרגל קשיא לכולהו
— are permitted to marry on the eve of the festival. This is a difficulty for all of them!
לא קשיא למאן דאמר משום שמחה עיקר שמחה חד יומא הוא
It is no difficulty. According to the one who says it is on account of the rejoicing — the main rejoicing is a single day.
למ"ד משום טירחא עיקר טירחא חד יומא הוא למ"ד משום ביטול פריה ורביה לחד יומא לא משהי איניש נפשיה
According to the one who says it is on account of the trouble — the main trouble is a single day. According to the one who says it is on account of the neglect of procreation — for a single day a man does not hold himself back.
ודאין מערבין שמחה בשמחה מנלן דכתיב (מלכים א ח, סה) ויעש שלמה בעת ההיא את החג וכל ישראל עמו קהל גדול מלבוא חמת עד נחל מצרים [לפני ה' אלהינו] שבעת ימים ושבעת ימים ארבעה עשר יום ואם איתא דמערבין שמחה בשמחה איבעי ליה למינטר עד החג ומיעבד שבעה להכא ולהכא
And that one does not mix rejoicing with rejoicing — from where do we know it? For it is written "so Solomon held the feast at that time, and all Israel with him, a great congregation, from the entrance of Hamath to the Brook of Egypt, before the Lord our God, seven days and seven days, even fourteen days" (I Kings 8:65). And if it were so that one mixes rejoicing with rejoicing, he ought to have waited until the festival and made seven for this and for that.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.