(a)(Beraisa): Shimon ha'Pekuli arranged the 18 blessings of Shemoneh Esreh in front of R. Gamliel in Yavneh;
1.R. Gamliel: Does anyone know how to enact a blessing against heretics?
2.Shmuel ha'Katan enacted it; the next year, he [was leading the prayer and] forgot it; he spent two or three hours trying to remember it, they did not replace him.
(b)Question: Why didn't they replace him?
1.(Rav Yehudah): If a Shali'ach Tzibur erred in any Berachah, we do not replace him, except for Birkas ha'Tzedukim, for we suspect he is a heretic (and therefore refuses to say it).
(c)Answer: Since Shmuel ha'Katan himself enacted the blessing, we do not suspect him.
(d)Question: Perhaps he retracted (and became a heretic)!
(e)(Abaye): We have a tradition, a Tzadik will not become a Rasha.
(f)Question: But it says, "uv'Shuv Tzadik mi'Tzidkaso v'Asah Avel..."!
(g)Answer: That refers to one who originally was a Rasha, it would not happen to one who was a Tzadik from the beginning.
(h)Question (Mishnah): Do not trust in yourself (that you will remain righteous) until you die!
1.Yochanan Kohen Gadol served for 80 years (even though almost every other Kohen Gadol in Bayis Sheni did not merit to live to serve a second year), and he became a Tzeduki in the end!
2.(Abaye): Yanai ha'Melech (who killed almost all the Chachamim) was Yochanan Kohen Gadol.
3.(Rava): They are different -- Yanai was a Rasha from the beginning, Yochanan was initially a Tzadik.
4.This is not difficult for Abaye (he can say that Yochanan was a Rasha from the beginning), but how can Rava answer?
(i)Answer (for Rava): Even one who was initially a Tzadik can turn bad.
(j)Question: If so, why didn't they replace Shimon ha'Tzadik?
(k)Answer: He had started the blessing;
1.(Rav Yehudah): If a Shali'ach Tzibur does not begin Birkas ha'Tzedukim we replace him, but if he started it (and erred), we allow him to finish.
(l)Question: To what do the seven blessings in the Shemoneh Esreh of Shabbos correspond?
(m)Answer (R. Chalifta ben Shaul): They correspond to the seven "voices of Hash-m on the water" (mentioned in Tehilim 29).
(n)Question: To what do the nine blessings in Musaf of Rosh Hashanah correspond?
(o)Answer (R. Yitzchak of Kartignin): They correspond to the nine mentions of Hash-m's name in Chanah's prayer.
1.Pregnancy was decreed for Sarah, Rachel and Chanah on Rosh Hashanah. (From the text of the "u'Nesaneh Tokef" prayer, it seems that every pregnancy is decreed on Rosh Hashanah! Perhaps, since most people are Beinonim, the decree is not final until Yom Kipur, but for these righteous women, pregnancy was decreed and sealed on Rosh Hashanah.)
(p)Question: On a public fast day [six blessings are added to the Shemoneh Esreh,] to what do the 24 blessings correspond?
(q)Answer (R. Chelbo): They correspond to the 24 prayers that Shlomo said when he brought the Aron into the Kodesh ha'Kodashim.
(r)Question: If so, we should say 24 blessings every day!
(s)Answer: Shlomo said them on a day when mercy was needed (the gates did not want to let him enter), so we also say them on such days.
(a)(Mishnah - R. Yehoshua): He may pray "like" Shemoneh Esreh.
(b)Question: What is this?
(c)Answer #1 (Rav): He says  abridged blessings;
(d)Answer #2 (Shmuel): He says [the first three and last three blessings as usual; the middle blessings are condensed into one long one:] "Havinenu (endow us with wisdom)... to know Your ways... Baruch Atah Hash-m Shome'a Tefilah."
(e)Abaye cursed one who would pray Havinenu (unless he was travelling).
(f)(Rav Nachman): One may pray Havinenu any time of year, except for Motza'i Shabbos or Motza'i Yom Tov, for then one must say Havdalah in Chonen ha'Da'as (the fourth blessing, for understanding).
(g)Question (Rabah bar Shmuel): He should be able to say Havdalah by itself as the fourth blessing!
1.(Mishnah - R. Akiva): [On Motza'i Shabbos or Motza'i Yom Tov] Havdalah is a blessing by itself, the fourth blessing.
2.R. Eliezer says, one says Havdalah in Modim.
(h)Answer (Rav Nachman): The Halachah does not follow R. Akiva (regarding a standard Shemoneh Esreh), therefore it is unreasonable that for Havinenu we should follow his opinion;
1.The Halachah is unlike R. Akiva because the Anshei Keneses ha'Gedolah enacted 18 blessings, not 19 -- likewise, Havinenu was enacted with seven blessings, not eight!
(i)Question (Mar Zutra): One should be able to make Havdalah part of the long middle blessing of Havinenu [and say], "Havinenu Hash-m Elokeinu ha'Mavdil Bein Kodesh l'Chol"!
(j)This is left difficult.
(k)(Rav Bivi bar Abaye): One may pray Havinenu any time of year, except for winter, for then one must request rain in Birkas ha'Shanim.
(l)Question (Mar Zutra): One should be able to request rain in Havinenu [and say], "Prosper us in Your land, and give us rain..."!
(m)Answer: A change from the standard text will confuse him (and make him forget the rest of the prayer).
(n)Question: If so, one should not say Havdalah in Chonen ha'Da'as, lest this confuse him!
(o)Answer: Havdalah is the beginning of the [requests of] Shemoneh Esreh, and thus it will not confuse him. We request rain in the middle of the requests, where a change will confuse him.
(p)Question (Rav Ashi): One should be able to request rain in Shome'a Tefilah (it is the end of the requests, there is no concern for confusion)!
1.(R. Tanchum): If one forgot to mention rain in Techiyas ha'Mesim (the second blessing), he must go back; if one forgot to request rain in Birkas ha'Shanim, he need not go back, for he may request it in Shome'a Tefilah.
2.If one forgot to say Havdalah in Chonen ha'Da'as, he need not go back, for he can say it later over wine.
(q)Answer: That is only for one who forgot; l'Chatchilah we do not request rain in Shome'a Tefilah.
(a)(R. Tanchum): If one forgot... to request rain in Birkas ha'Shanim, he need not go back, for he may request it in Shome'a Tefilah.
(b)Question (Beraisa): If one forgot to mention rain in Techiyas ha'Mesim or to request rain in Birkas ha'Shanim, he must go back;
1.If he forgot to say Havdalah in Chonen ha'Da'as, he need not go back, for he may say it later over wine.
(c)Answer #1: One who prays with a Minyan need not go back, one who prays alone must go back.
(d)Objection: Presumably, the distinction is that with a Minyan he need not go back because he will hear the request for rain from the Shali'ach Tzibur -- but R. Tanchum's reason was because he may request it in Shome'a Tefilah!
(e)Answer #2: Rather, R. Tanchum also discusses one who prays alone;
(f)If one remembers (that he forgot to request rain) before Shome'a Tefilah he need not repeat Shemoneh Esreh, for he may request it in Shome'a Tefilah; if he remembers after Shome'a Tefilah, he must repeat Shemoneh Esreh.
(g)(R. Tanchum citing R. Yehoshua ben Levi): If one [realized that he] forgot to mention Rosh Chodesh (Ya'aleh v'Yavo) in Avodah (the blessing of Retzeh) and he is still in Avodah, he goes back to [the beginning of] Avodah;
1.If he remembered his omission while saying Modim or Sim Shalom, he goes back to Avodah; if he already finished his prayer, he repeats Shemoneh Esreh.
(h)(Rav Papa brei d'Rav Acha): This law, that if he already finished his prayer he repeats Shemoneh Esreh, is only if he stepped back;
1.If not, he goes back to Avodah.
(i)Question (R. Tanchum): What is your source for this?
(j)Answer (Rav Papa): I heard this from my father, who heard it from Rav.
(k)Version #1 (Rav Nachman bar Yitzchak): This law, that if he already stepped back, he repeats Shemoneh Esreh, is only if he does not normally add supplications after Shemoneh Esreh;
1.If he normally adds supplications after Shemoneh Esreh (it is as if he did not yet finish), he goes back to Avodah.
(l)Version #2 (Rav Nachman bar Yitzchak): This law, that if he did not yet step back he goes back to Avodah, is only if he normally adds supplications after Shemoneh Esreh;
1.If not, he repeats Shemoneh Esreh.
4)THE PROPER WAY TO PRAY
(a)(Mishnah - R. Eliezer): If one makes his prayer "fixed" ("Keva")...
(b)Question: What does this mean?
(c)Answer #1 (R. Yakov bar Idi): It is like a burden to him.
(d)Answer #2 (Rabanan): He does not say it like supplications.
(e)Answer #3 (Rabah and Rav Yosef): He is unable to [concentrate to] request something new.
1.R. Zeira: I could request something new, but I fear lest I would get confused (and be unable to resume Shemoneh Esreh).
(f)Answer #4 (Abaye and R. Chanina bar Avin): This is one who does not pray (Shacharis and Minchah) Im Dimdumei Chamah (when the sun rises and sets).
(g)(R. Chiya bar Aba): The Mitzvah (l'Chatchilah) is to pray Im Dimdumei Chamah.
(h)(R. Zeira): He learns from "Yir'aucha Im Shamesh (Shacharis at sunrise) v'Lifnei Yare'ach Dor Dorim (Minchah before sunset)."
(i)In Eretz Yisrael they would curse one who prayed Minchah before sunset.
(j)Question: What is the reason?
(k)Answer: It is possible that he will not pray in time.
(l)(Mishnah - R. Yehoshua): One who travels in a dangerous place should say a short prayer: "[... May Yisrael's needs be in front of You] b'Chol Parashas ha'Ibur..."
(m)Question: What does this mean?
(n)Version #1 - Answer (Rav Chisda): It means, even when You are full of anger ("Avarah") at Yisrael, like a Me'uberes (a pregnant woman, whose womb is full).
(o)Version #2 - Answer (Rav Chisda): It means, even when Yisrael transgress ("Ovrim") the Torah.
(p)(Beraisa): One who travels in a place of wild animals and bandits prays a short prayer.
1.Question: What is this short prayer?
2.Answer #1 (R. Eliezer): "Do Your will in Heaven above and grant serenity to those who fear You below... Baruch Atah Hash-m Shome'a Tefilah."
3.Answer #2 (R. Yehoshua): "Hear the requests of Yisrael and speedily fulfill them; Baruch Atah Hash-m Shome'a Tefilah."
4.Answer #3 (R. Eliezer b'Rebbi Tzadok): "Hear the cries of Yisrael... Shome'a Tefilah."
5.Answer #4 (Acherim): "The needs of Yisrael are many, they do not know how to express them; may it be Your will to sustain every one and give him what he lacks; Baruch Atah Hash-m Shome'a Tefilah."
(q)(Rav Huna): The Halachah follows Acherim.
(r)Eliyahu (to Rav Yehudah, brother of Rav Sala Chasida): Do not get angry or drunk, lest you will sin;
1.Before travelling, consult with your Maker.
2.Question: What does this mean?
3.Answer (R. Yakov): You should say Tefilas ha'Derech (prayer for travelling).