The Talmud
שַׁבָּת דף כ״דShabbat 24b
Amud b of Shabbat 24 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Shabbat 24b · שבת כ״ד ב
ולית הילכתא ככל הני שמעתתא אלא כי הא דא"ר יהושע בן לוי יום הכפורים שחל להיות בשבת המתפלל נעילה צריך להזכיר של שבת יום הוא שנתחייב בארבע תפלות
And the law is not in accordance with all these traditions, but rather in accordance with this: for Rabbi Yehoshua ben Levi said: the Day of Atonement that falls on the Sabbath — one who prays the closing prayer (ne'ilah — the last prayer of the Day of Atonement) must make mention of the Sabbath, for it is one day that became obliged in four prayers.
קשיא הילכתא אהילכתא אמרת הילכתא כריב"ל וקיימא לן הילכתא כרבא דאמר רבא יו"ט שחל להיות בשבת שליח ציבור היורד לפני התיבה ערבית אינו צריך להזכיר של יום טוב שאילמלא שבת אין שליח צבור יורד ערבית ביו"ט
One ruling of law contradicts another ruling of law! You said that the law is as Rabbi Yehoshua ben Levi, and yet we hold that the law is as Rava; for Rava said: a festival that falls on the Sabbath — the messenger of the congregation who goes down before the ark in the evening need not make mention of the festival, for were it not for the Sabbath the messenger of the congregation would not go down before the ark in the evening on a festival.
הכי השתא התם בדין הוא דאפילו בשבת נמי לא צריך ורבנן הוא דתקוני משום סכנה אבל הכא יום הוא שנתחייב בארבע תפלות:
How can you compare the two? There, by strict law he need not do so even on the Sabbath, and it was the Rabbis who ordained it because of danger; but here it is one day that became obliged in four prayers.
ולא באליה כו': חכמים היינו תנא קמא איכא בינייהו דרב ברונא אמר רב ולא מסיימי:
"And not with the fat tail", and so on. The Sages hold the very same as the first tanna! Between them there is the ruling of Rav Beruna in the name of Rav; but it is not made clear which of them holds which.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.