סימן כ סעיף ה
כְּשֶׁמַּגִּיעַ הַשְּׁלִיחַ צִבּוּר לְמוֹדִים, מִשְׁתַּחֲוִים כָּל הַקָּהָל וְאוֹמְרִים מוֹדִים דְּרַבָּנָן, כֻּלוֹ בְּהִשְׁתַּחֲוָיָה, וּמִי שֶׁהוּא עוֹמֵד בִּתְפִלַּת שְׁמֹנֶה עֶשְׂרֵה וְשׁוֹמֵעַ שֶׁהַשְּׁלִיחַ צִבּוּר הִגִּיעַ לְמוֹדִים, אִם הוּא עוֹמֵד בְּאֶמְצַע בְּרָכָה, מִשְׁתַּחֲוֶה גַּם כֵּן. אֲבָל אִם עוֹמֵד בִּתְחִלַּת בְּרָכָה. אוֹ בְּסוֹף בְּרָכָה, לֹא יִשְׁתַּחֲוֶה. מִשּׁוּם דְּאָסוּר לְהוֹסִיף הִשְׁתַּחֲוָיוֹת, בִּתְחִלַּת בְּרָכָה אוֹ בְּסוֹף בְּרָכָה, עַל אוֹתָן שֶׁאָמְרוּ רַבּוֹתֵינוּ זִכְרוֹנָם לִבְרָכָה, כְּדִלְעֵיל סִימָן י"ח סָעִיף י"א (ק"ט קכ"ז).
When the chazzan reaches [the berachah] modim, the entire congregation bows and says the entire modim derabanan6The Talmud (Soteh, 40:3) teaches that during the time in which the chazzan says Modim aloud it is propitious for a person to add a short supplication. A number of the Rabbis said short prayers. Rav Papa concludes that all the prayers are proper and our version is a composite of all and is therefore called Modim derabanan—the Modim of our Rabbis. in a bowed posture.7Some bow only at the beginning until before Adono-y and at the conclusion. If you are standing [in the midst of] the Shemoneh Esrei prayer and you hear the chazzan about to say modim, if you are in the midst of a berachah, you should also bow.8I.e. while continuing your own prayer. But if you are at the beginning or end of a berachah, you should not bow, because it is prohibited to add bowings either at the beginning or end of a berachah besides those that were ordained by our Rabbis, of blessed memory. See chapter 18, paragraph 11.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)