The Talmud
ברכות דף כ״וBerachot 26b
Amud b of Berachot 26 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Berakhot 26b · ברכות כ״ו ב
תנו רבנן טעה ולא התפלל מנחה בערב שבת מתפלל בליל שבת שתים טעה ולא התפלל מנחה בשבת מתפלל במוצאי שבת שתים של חול מבדיל בראשונה ואינו מבדיל בשניה ואם הבדיל בשניה ולא הבדיל בראשונה שניה עלתה לו ראשונה לא עלתה לו
The Rabbis taught: one who erred and did not pray the afternoon prayer on the eve of the Sabbath prays twice on the night of the Sabbath. One who erred and did not pray the afternoon prayer on the Sabbath prays twice at the going out of the Sabbath, both of them weekday prayers. He says havdalah — the passage marking the distinction between the Sabbath and the days of the week — in the first and does not say it in the second. And if he said it in the second and did not say it in the first, the second counts for him and the first does not count for him.
למימרא דכיון דלא אבדיל בקמייתא כמאן דלא צלי דמי ומהדרינן ליה
Is that to say that since he did not say havdalah in the first, he is deemed as one who has not prayed at all, and we send him back to pray again?
ורמינהו טעה ולא הזכיר גבורות גשמים בתחיית המתים ושאלה בברכת השנים מחזירין אותו הבדלה בחונן הדעת אין מחזירין אותו מפני שיכול לאומרה על הכוס קשיא
And they set against it: one who erred and did not mention the might of the rains in the blessing of the resurrection of the dead, or the request for rain in the blessing of the years — they send him back. Havdalah in the blessing "who graciously grants knowledge" — they do not send him back, because he is able to say it over the cup. This is a difficulty.
איתמר רבי יוסי ברבי חנינא אמר תפלות אבות תקנום רבי יהושע בן לוי אמר תפלות כנגד תמידין תקנום
It was stated: Rabbi Yose the son of Rabbi Chanina said: it was the patriarchs who instituted the prayers. Rabbi Yehoshua ben Levi said: the prayers were instituted to correspond to the daily offerings.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.