Halacha

הלכה א
מִי שֶׁהִתְפַּלֵּל וְלֹא כִּוֵּן אֶת לִבּוֹ יַחֲזֹר וְיִתְפַּלֵּל בְּכַוָּנָה. וְאִם כִּוֵּן אֶת לִבּוֹ בִּבְרָכָה רִאשׁוֹנָה שׁוּב אֵינוֹ צָרִיךְ. מִי שֶׁטָּעָה בְּאַחַת מִשָּׁלֹשׁ בְּרָכוֹת הָרִאשׁוֹנוֹת חוֹזֵר לָרֹאשׁ. וְאִם טָעָה בְּאַחַת מִשָּׁלֹשׁ בְּרָכוֹת אַחֲרוֹנוֹת יַחֲזֹר לַעֲבוֹדָה. וְאִם טָעָה בְּאַחַת מִן הָאֶמְצָעִיּוֹת חוֹזֵר לִתְחִלַּת בְּרָכָה שֶׁטָּעָה בָּהּ וּמַשְׁלִים תְּפִלָּתוֹ עַל הַסֵּדֶר. וְכֵן שְׁלִיחַ צִבּוּר שֶׁטָּעָה כְּשֶׁהוּא מִתְפַּלֵּל בְּקוֹל רָם עַל דֶּרֶךְ זוֹ הוּא חוֹזֵר:
כסף משנה
1.
A person who prayed without concentrating [on his prayers] must pray a second time with concentration. However, if he had concentrated during the first blessing, nothing more is necessary.
A person who errs in the recitation of the first three blessings [of the Shemoneh Esreh] must return to the beginning [of the Shemoneh Esreh]. Should one err in the recitation of the final three blessings, one should return to [the blessing, R'tzey]. If one errs in the midst of [one of] the intermediate blessings, one should return to the beginning of that blessing and [then] conclude one's prayers in the [proper] order.
Should the leader of the congregation err when he is praying out loud, he should [correct himself] based on these principles.

הלכה ב
אֲבָל אִם טָעָה שְׁלִיחַ צִבּוּר כְּשֶׁהוּא מִתְפַּלֵּל בְּלַחַשׁ אֲנִי אוֹמֵר שֶׁאֵינוֹ חוֹזֵר וּמִתְפַּלֵּל פַּעַם שְׁנִיָּה מִפְּנֵי טֹרַח צִבּוּר אֶלָּא סוֹמֵךְ עַל הַתְּפִלָּה שֶׁמִּתְפַּלֵּל בְּקוֹל רָם. וְהוּא שֶׁלֹּא טָעָה בְּשָׁלֹשׁ רִאשׁוֹנוֹת שֶׁאִם טָעָה בָּהֶם לְעוֹלָם חוֹזֵר כְּמוֹ שֶׁהַיָּחִיד חוֹזֵר:
כסף משנה
2.
However, if the leader of the congregation errs while he is praying in a hushed tone, I maintain that he does not repeat his prayers a second time, because of the difficulty it will cause the congregation. Rather, he relies on the prayer which he will recite out loud.
The above applies when he does not err in the first three blessings. If he errs in their [recitation], he always repeats [his prayers] in the same manner as any [other] individual.

הלכה ג
שְׁלִיחַ צִבּוּר שֶׁטָּעָה וְנִבְהַל וְלֹא יָדַע מֵהֵיכָן יַתְחִיל וְשָׁהָה שָׁעָה יַעֲמֹד אַחֵר תַּחְתָּיו. וְאִם טָעָה בְּבִרְכַּת הָאֶפִּקוֹרְסִין אֵין מַמְתִּינִין לוֹ אֶלָּא מִיָּד יַעֲמֹד אַחֵר תַּחְתָּיו שֶׁמָּא אֶפִּיקוֹרְסוּת נִזְרְקָה בּוֹ. וְהוּא שֶׁלֹּא הִתְחִיל בָּהּ אֲבָל אִם הִתְחִיל בָּהּ מַמְתִּינִין לוֹ שָׁעָה. וְלֹא יְהֵא הַשֵּׁנִי סַרְבָן בְּאוֹתָהּ שָׁעָה:
כסף משנה
3.
Should the leader of a congregation err [in his repetition of the Shemoneh Esreh], become confused and not know where to begin [again] - if he waits for a prolonged period, another person should replace him.
If he errs in the recitation of the blessing [that curses] the heretics, we do not wait for him [to correct himself]; rather, another person should replace him. This applies only when he did not begin this [blessing]. However, if he did begin [the blessing], we wait for him.
The second person should not refuse at this time.

הלכה ד
וּמֵהֵיכָן הוּא מַתְחִיל, מִתְּחִלַּת בְּרָכָה שֶׁטָּעָה בָּהּ רִאשׁוֹן אִם טָעָה בְּאַחַת מִן הָאֶמְצָעִיּוֹת. אֲבָל אִם טָעָה בְּאַחַת מִן הַשָּׁלֹשׁ רִאשׁוֹנוֹת מַתְחִיל הַשֵּׁנִי מִן הָרֹאשׁ. וְאִם טָעָה בְּאַחַת מִן הָאַחֲרוֹנוֹת יַתְחִיל הַשֵּׁנִי מִן הָעֲבוֹדָה:
כסף משנה
4.
From which point should [the substitute for the leader of the congregation] begin? If the first one erred in one of the intermediate blessings, [the substitute] should begin from the beginning of the blessing in which he erred. However, if he erred in one of the first three blessings, the [substitute] starts from the beginning [of the Shemoneh Esreh. If he erred in one of the final [three] blessings, the substitute should begin from [the blessing, R'tzey].

הלכה ה
הָאוֹמֵר אֵינִי יוֹרֵד לִפְנֵי הַתֵּבָה מִפְּנֵי שֶׁבְּגָדַי צְבוּעִים אַף בִּלְבָנִים לֹא יַעֲבֹר בְּאוֹתָהּ תְּפִלָּה. אָמַר אֵינִי עוֹבֵר מִפְּנֵי שֶׁיֵּשׁ בְּרַגְלִי סַנְדָּל אַף יָחֵף לֹא יַעֲבֹר:
כסף משנה
5.
A person who says, "I will not lead the congregation in prayer because [I am wearing] colored clothes," should not lead the congregation in that prayer service even when wearing white clothes. If he said, "I will not lead the congregation because I am wearing sandals," he should not lead the congregation even when barefoot.

הלכה ו
מִי שֶׁנִּסְתַּפֵּק לוֹ אִם הִתְפַּלֵּל אִם לֹא הִתְפַּלֵּל אֵינוֹ חוֹזֵר וּמִתְפַּלֵּל אֶלָּא אִם כֵּן מִתְפַּלֵּל תְּפִלָּה זוֹ עַל דַּעַת שֶׁהִיא נְדָבָה. שֶׁאִם רָצָה יָחִיד לְהִתְפַּלֵּל כָּל הַיּוֹם תְּפִלַּת נְדָבָה יִתְפַּלֵּל. מִי שֶׁהָיָה עוֹמֵד בִּתְפִלָּה וְנִזְכַּר שֶׁכְּבָר הִתְפַּלֵּל פּוֹסֵק וַאֲפִלּוּ בְּאֶמְצַע בְּרָכָה. וְאִם הָיְתָה תְּפִלַּת עַרְבִית אֵינוֹ פּוֹסֵק שֶׁלֹּא הִתְפַּלֵּל אוֹתָהּ מִתְּחִלָּה אֶלָּא עַל דַּעַת שֶׁאֵינָהּ חוֹבָה:
כסף משנה
6.
A person who is in doubt whether he prayed or not should not repeat his prayers, unless he recites the second prayer with the intention that it is a voluntary prayer, since an individual may recite voluntary prayers throughout the entire day.
A person who remembers that he has already prayed while he is in the midst of the Shemoneh Esreh should cease [praying] immediately, even if he is in the midst of a blessing. [However,] if he was reciting the evening service, he need not cease [praying], for even at the outset, he did not begin that prayer service with the thought that it was an obligation.

הלכה ז
מִי שֶׁטָּעָה וְהִתְפַּלֵּל שֶׁל חֹל בְּשַׁבָּת לֹא יָצָא. וְאִם נִזְכַּר וְהוּא בְּתוֹךְ הַתְּפִלָּה גּוֹמֵר בְּרָכָה שֶׁהִתְחִיל בָּהּ וְחוֹזֵר וּמִתְפַּלֵּל שֶׁל שַׁבָּת. בַּמֶּה דְּבָרִים אֲמוּרִים בְּעַרְבִית אוֹ בְּשַׁחֲרִית אוֹ בְּמִנְחָה. אֲבָל בְּמוּסָף פּוֹסֵק אֲפִלּוּ בְּאֶמְצַע הַבְּרָכָה. וְכֵן אִם הִשְׁלִים תְּפִלָּה שֶׁל חֹל עַל דַּעַת שֶׁהוּא מוּסָף חוֹזֵר וּמִתְפַּלֵּל מוּסָף. אֶחָד שַׁבָּת וְאֶחָד יוֹם טוֹב וְאֶחָד רֹאשׁ חֹדֶשׁ:
כסף משנה
7.
A person who erred and recited a weekday prayer on the Sabbath does not fulfill his obligation. If he recalled while he was in the midst of the Shemoneh Esreh, he should conclude the blessing which he has begun and [continue] reciting the Sabbath prayers.
When does the above apply? In the evening, morning, and Minchah services. However, in the Musaf service, one should cease [praying] even in the midst of a blessing. Similarly, if one completed a weekday Shemoneh Esreh with the intention that it be one's Musaf prayers, one must recite Musaf again. This applies on the Sabbath, on a festival, and on Rosh Chodesh.

הלכה ח
מִי שֶׁטָּעָה בִּימוֹת הַגְּשָׁמִים וְלֹא אָמַר מוֹרִיד הַגֶּשֶׁם וְלֹא מוֹרִיד הַטָּל חוֹזֵר לָרֹאשׁ. וְאִם הִזְכִּיר הַטַּל אֵינוֹ חוֹזֵר. וְאִם טָעָה בִּימוֹת הַחַמָּה וְאָמַר מוֹרִיד הַגֶּשֶׁם חוֹזֵר לָרֹאשׁ. וְאִם לֹא הִזְכִּיר טַל אֵין מַחְזִירִין אוֹתוֹ, שֶׁאֵין הַטַּל נֶעֱצָר וְאֵין צָרִיךְ בַּקָּשָׁה:
כסף משנה
8.
[When] one errs during the rainy season and does not recite either morid hageshem or morid hatal, he must return to the beginning of the prayers. However, if he mentions dew, he need not repeat [his prayers].
Should one err in the summer and recite morid hageshem, he must return to the beginning of the prayers. However, if he omits mention of dew [in the summer], he need not repeat his prayers, for dew is never held back, nor is there a need to request it.

הלכה ט
מִי שֶׁשָּׁכַח שְׁאֵלָה בְּבִרְכַּת הַשָּׁנִים אִם נִזְכַּר קֹדֶם שׁוֹמֵעַ תְּפִלָּה שׁוֹאֵל אֶת הַגְּשָׁמִים בְּשׁוֹמֵעַ תְּפִלָּה. וְאִם אַחַר שֶׁבֵּרֵךְ שׁוֹמֵעַ תְּפִלָּה חוֹזֵר לְבִרְכַּת הַשָּׁנִים. וְאִם לֹא נִזְכַּר עַד שֶׁהִשְׁלִים כָּל תְּפִלָּתוֹ חוֹזֵר לָרֹאשׁ וּמִתְפַּלֵּל שְׁנִיָּה:
כסף משנה
9.
[The following rules apply when] one forgets to request rain in the blessing for material prosperity: If he remembers before [the blessing,] shome'a tefilah, he should request rain in [that blessing]. If he [recalls] after reciting the blessing, shome'a tefilah, he should return to the blessing for material prosperity. If he does not recall until after he completes the Shemoneh Esreh, he must return to the beginning of the prayer and pray a second time.

הלכה י
טָעָה וְלֹא הִזְכִּיר יַעֲלֶה וְיָבוֹא אִם נִזְכַּר קֹדֶם שֶׁיַּשְׁלִים תְּפִלָּתוֹ חוֹזֵר לַעֲבוֹדָה וּמַזְכִּיר. וְאִם נִזְכַּר אַחַר שֶׁהִשְׁלִים תְּפִלָּתוֹ חוֹזֵר לָרֹאשׁ. וְאִם הָיָה רָגִיל לוֹמַר תַּחֲנוּנִים אַחַר תְּפִלָּתוֹ וְנִזְכַּר אַחַר שֶׁהִשְׁלִים תְּפִלָּתוֹ קֹדֶם שֶׁיַּעֲקֹר רַגְלָיו חוֹזֵר לַעֲבוֹדָה:
כסף משנה
10.
[The following rules apply when] a person errs and fails to mention Ya'aleh v'yavo: If he remembers before he has concluded the Shemoneh Esreh, he should return to [the blessing, R'tzey], and recite it. If he remembers after he has concluded his prayers, he must repeat the Shemoneh Esreh from the beginning. If he is accustomed to recite supplicatory prayers after Shemoneh Esreh and remembers after he has concluded his prayers, but before he has lifted up his feet [to step backwards after prayer], he should return to [the blessing, R'tzey].

הלכה יא
בַּמֶּה דְּבָרִים אֲמוּרִים בְּחֻלּוֹ שֶׁל מוֹעֵד אוֹ בְּשַׁחֲרִית וּבְמִנְחָה שֶׁל רָאשֵׁי חֳדָשִׁים. אֲבָל עַרְבִית שֶׁל רֹאשׁ חֹדֶשׁ אִם לֹא הִזְכִּיר אֵינוֹ חוֹזֵר:
כסף משנה
11.
When does the above apply? On Chol Hamo'ed or in the morning or Minchah services of Rosh Chodesh. However, in the evening service of Rosh Chodesh, if one failed to mention it one need not repeat his prayers.

הלכה יב
כָּל מָקוֹם שֶׁהַיָּחִיד חוֹזֵר וּמִתְפַּלֵּל שַׁ״ץ חוֹזֵר וּמִתְפַּלֵּל אִם טָעָה כְּמוֹתוֹ בְּעֵת שֶׁמִּתְפַּלֵּל בְּקוֹל רָם. חוּץ מִשַּׁחֲרִית שֶׁל רֹאשׁ חֹדֶשׁ שֶׁאִם שָׁכַח שַׁ״ץ וְלֹא הִזְכִּיר יַעֲלֶה וְיָבוֹא עַד שֶׁהִשְׁלִים תְּפִלָּתוֹ אֵין מַחְזִירִין אוֹתוֹ מִפְּנֵי טֹרַח צִבּוּר. שֶׁהֲרֵי תְּפִלַּת הַמּוּסָפִין לְפָנָיו שֶׁהוּא מַזְכִּיר בָּהּ רֹאשׁ חֹדֶשׁ:
כסף משנה
12.
In every case in which an individual is required to repeat his prayers [because of an error], the leader of the congregation is also required to repeat his prayers if he made a similar mistake while praying out loud, with the exception of the morning service of Rosh Chodesh.
[In this instance,] if the leader of the congregation failed to mention Ya'aleh v'yavo before completing his prayers, he is not required to repeat his prayers because of the difficulty it would cause the congregation. The Musaf service is still to be recited and Rosh Chodesh will be mentioned there.

הלכה יג
עֲשָׂרָה יָמִים שֶׁמֵּרֹאשׁ הַשָּׁנָה עַד יוֹם הַכִּפּוּרִים טָעָה וְחָתַם בָּהֶם בִּבְרָכָה שְׁלִישִׁית הָאֵל הַקָּדוֹשׁ חוֹזֵר לָרֹאשׁ. טָעָה וְחָתַם בְּעַשְׁתֵּי עֶשְׂרֵה מֶלֶךְ אוֹהֵב צְדָקָה וּמִשְׁפָּט חוֹזֵר לִתְחִלַּת הַבְּרָכָה וְחוֹתֵם בָּהּ הַמֶּלֶךְ הַמִּשְׁפָּט וּמִתְפַּלֵּל וְהוֹלֵךְ עַל הַסֵּדֶר. וְאִם לֹא נִזְכַּר אֶלָּא עַד שֶׁהִשְׁלִים כָּל תְּפִלָּתוֹ חוֹזֵר לָרֹאשׁ. אֶחָד יָחִיד וְאֶחָד שְׁלִיחַ צִבּוּר:
כסף משנה
13.
If during the ten days between Rosh Hashanah and Yom Kippur, one erred and concluded the third blessing, Ha'El hakadosh, he should return to the beginning of the Shemoneh Esreh.
If he erred and concluded the eleventh blessing, Melech ohev tzedakah umishpat, he should return to the beginning of the blessing and conclude Hamelech hamishpat, and continue reciting his prayers in order. If he did not remember until he concluded his prayers, he must recite [his prayers again] from the beginning.
[These laws apply] to both an individual and to the leader of the congregation.

הלכה יד
טָעָה וְלֹא הִזְכִּיר הַבְדָּלָה בְּחוֹנֵן הַדַּעַת מַשְׁלִים תְּפִלָּתוֹ וְאֵינוֹ צָרִיךְ לַחֲזֹר. וְכֵן מִי שֶׁלֹּא הִזְכִּיר עַל הַנִּסִּים בַּחֲנֻכָּה וּבְפוּרִים וַעֲנֵנוּ בִּתְפִלַּת תַּעֲנִית אֵינוֹ חוֹזֵר וּמִתְפַּלֵּל. אֶחָד יָחִיד וְאֶחָד שְׁלִיחַ צִבּוּר. וְאִם נִזְכַּר קֹדֶם שֶׁיַּעֲקֹר אֶת רַגְלָיו אוֹמֵר עֲנֵנוּ כִּי אַתָּה שׁוֹמֵעַ תְּפִלָּה פּוֹדֶה וּמַצִּיל בְּכָל עֵת צָרָה וְצוּקָה (תהילים יט טו) ״יִהְיוּ לְרָצוֹן אִמְרֵי פִי״ וְגוֹ׳‎:
כסף משנה
14.
If a person erred and did not mention Havdalah in the blessing, chonen hada'at, he should conclude his prayers, without returning [to correct himself]. Similarly, one who did not mention Al hanisim on Chanukah or Purim, or Anenu in the prayers on a fast day, need not repeat his prayers. [These laws apply] to both an individual and the leader of a congregation.
If one remembers before lifting his feet [to step backwards after prayer], he should say: "Answer us because You are the one who hears prayer, redeems, and rescues in all times of difficulty and distress. May the words of my mouth...."

הלכה טו
שָׁכַח וְלֹא הִתְפַּלֵּל מִנְחָה בְּעֶרֶב שַׁבָּת יִתְפַּלֵּל עַרְבִית שְׁתַּיִם שֶׁל שַׁבָּת. וְכֵן בְּיוֹם טוֹב. שָׁכַח וְלֹא הִתְפַּלֵּל מִנְחָה בְּשַׁבָּת אוֹ בְּיוֹם טוֹב מִתְפַּלֵּל בְּמוֹצָאֵיהֶן עַרְבִית שְׁתַּיִם שֶׁל חֹל. מַבְדִּיל בָּרִאשׁוֹנָה וְאֵינוֹ מַבְדִּיל בַּשְּׁנִיָּה. וְאִם הִבְדִּיל בִּשְׁתֵּיהֶן אוֹ לֹא הִבְדִּיל בְּאַחַת מֵהֶן יָצָא. אֲבָל אִם לֹא הִבְדִּיל בָּרִאשׁוֹנָה וְהִבְדִּיל בַּשְּׁנִיָּה חוֹזֵר וּמִתְפַּלֵּל תְּפִלָּה שְׁלִישִׁית מִפְּנֵי שֶׁהָרִאשׁוֹנָה לֹא עָלְתָה לוֹ מִפְּנֵי שֶׁהִקְדִּימָהּ לִתְפִלַּת עַרְבִית. וְכָל הַמִּתְפַּלֵּל שְׁתֵּי תְּפִלּוֹת אֲפִלּוּ שַׁחֲרִית וּמוּסָף לֹא יִתְפַּלֵּל זוֹ אַחַר זוֹ אֶלָּא יִשְׁהֶה בֵּין תְּפִלָּה לִתְפִלָּה כְּדֵי שֶׁתִּתְחוֹנֵן דַּעְתּוֹ עָלָיו:
כסף משנה
15.
[A person who] forgot to recite the afternoon service on the Sabbath eve should recite the Sabbath evening service twice. [The same law applies] on a festival.
[A person who] forgot to recite the afternoon service on the Sabbath or a festival should recite the weekday evening service twice after their conclusion.
He should recite Havdalah in the first of these prayers and not in the second. However, if he recited Havdalah in both prayers or omitted it in both prayers, he fulfills his obligation. Nevertheless, if he did not recite Havdalah in his first Shemoneh Esreh, but mentioned it in his second, he [must] return and recite a third Shemoneh Esreh, since his first prayers were not acceptable because they were recited before the evening service.
Whoever recites two prayers [in succession] - even the morning service and the Musaf service - should not recite them one immediately after the other. Rather, he should wait between prayers, so that his mind will be settled.

הלכה טז
אָסוּר לוֹ לַמִּתְפַּלֵּל בְּצִבּוּר שֶׁיַּקְדִּים תְּפִלָּתוֹ לִתְפִלַּת הַצִּבּוּר. הַנִּכְנָס לְבֵית הַכְּנֶסֶת וּמָצָא צִבּוּר שֶׁמִּתְפַּלְּלִין בְּלַחַשׁ אִם יָכוֹל לְהַתְחִיל וְלִגְמֹר עַד שֶׁלֹּא יַגִּיעַ שְׁלִיחַ צִבּוּר לִקְדֻשָּׁה יִתְפַּלֵּל. וְאִם לָאו יַמְתִּין עַד שֶׁיַּתְחִיל שְׁלִיחַ צִבּוּר לְהִתְפַּלֵּל בְּקוֹל רָם וְיִתְפַּלֵּל עִמּוֹ בְּלַחַשׁ מִלָּה בְּמִלָּה עַד שֶׁיַּגִּיעַ שְׁלִיחַ צִבּוּר לִקְדֻשָּׁה וְעוֹנֶה קְדֻשָּׁה עִם הַצִּבּוּר וּמִתְפַּלֵּל שְׁאָר תְּפִלָּה לְעַצְמוֹ. וְאִם הִתְחִיל לְהִתְפַּלֵּל קֹדֶם שְׁלִיחַ צִבּוּר וְהִגִּיעַ שְׁלִיחַ צִבּוּר לִקְדֻשָּׁה לֹא יַפְסִיק וְלֹא יַעֲנֶה קְדֻשָּׁה עִמָּהֶן. וְכֵן לֹא יַעֲנֶה אָמֵן יְהֵא שְׁמֵיהּ רַבָּא מְבֹרָךְ וְהוּא בְּאֶמְצַע הַתְּפִלָּה וְאֵין צָרִיךְ לוֹמַר בִּשְׁאָר הַבְּרָכוֹת:
כסף משנה
16.
It is forbidden for a person who is praying with a congregation to pray before the congregation.
[The following rules apply when] a person enters a synagogue and finds the congregation praying in a hushed tone: If he could begin and complete his prayers before the leader of the congregation reached Kedushah, he should recite the Shemoneh Esreh. If not, he should wait until the leader of the congregation begins reciting the Shemoneh Esreh out loud, and pray together with him word for word until the leader of the congregation reaches Kedushah. He should respond to Kedushah with the rest of the congregation and then recite the remainder of the Shemoneh Esreh alone.
One who began reciting the Shemoneh Esreh before the leader of the congregation, [but was unable to conclude his prayers before] the leader of the congregation reached Kedushah, should not interrupt his prayers [to] respond to Kedushah with [the congregation]. Similarly, one should not respond Amen, yehei shemeih rabba mevarach... while in the midst of Shemoneh Esreh. Needless to say, [this applies regarding responding "Amen"] to other blessings.

אהבה הלכות תפילה וברכת כהנים פרק י
Ahavah Tefilah and Birkas Kohanim Chapter 10