מקום התפילה / מצווה להתפלל בבית כנסת The Place of Prayer / The Mitzvah to Pray in a Synagogue
כאשר אדם מתפלל בבית הכנסת עם הציבור – תפילתו נשמעת (עי' ברכות ו, א). וגם מי שהפסיד את התפילה במניין, מצווה שיתפלל בבית הכנסת, שהוא מקום קבוע ומיוחד לקדושה ובו התפילה מתקבלת יותר (שו"ע או"ח צ, ט). When a person prays in a synagogue with a congregation, his prayer is heard (see Berachot 6a). Even someone who missed praying in a minyan has a mitzvah to pray in the synagogue, since it is a permanent and special place of holiness in where prayer is more accepted (Shulchan Aruch 90:9).
אמנם כשהמניין מתפלל במקום אחר, עדיף להתפלל במניין מאשר בבית הכנסת ביחידות. ואם בבית הכנסת ישנו מניין קטן ואילו במקום אחר ישנו מניין גדול, אף שיש מעלה ל'רוב-עם', מעלת התפילה בבית הכנסת גוברת (פמ"ג, משנה ברורה צ, כז-כח). However, when the minyan is held in a different place, it is preferable to pray with the minyan rather than individually in the synagogue. If there is a small minyan in the synagogue and a larger minyan elsewhere, although there is merit to praying in the company of many, the value of praying in a synagogue is greater (Pri Megadim; Mishnah Berurah 90:27-28).
על כל קהילה מוטלת מצווה לבנות בית כנסת, שבו יוכלו להתפלל במניין, והוא יהיה להם למקדש מעט. כמו שנאמר (יחזקאל יא, טז): "וָאֱהִי לָהֶם לְמִקְדָּשׁ מְעַט", ופירש רבי יצחק: "אלו בתי כנסיות ובתי מדרשות" (מגילה כט, א). Every community has an obligation to fulfill the mitzvah of building a synagogue which will be their mini-sanctuary (mikdash me’at) and where people can pray in a minyan. As it is written (Ezekiel 11:16), “I have been for them a small sanctuary,” and Rabbi Yitzchak interpreted, “These are synagogues and study halls” (Megillah 29a).
אמר ריש לקיש: כל מי שיש לו בית כנסת בעירו ואינו נכנס להתפלל בו – נקרא שכן רע. ולא עוד אלא שגורם גלות לו ולבניו. והמקדימים לבוא לבית הכנסת לתפילת שחרית ומאחרים לצאת מתפילת ערבית, זוכים לאריכות ימים (ברכות ח, א; שו"ע או"ח צ, יא). Reish Lakish says whoever has a synagogue in his city and does not pray there is called a bad neighbor. Moreover, he brings exile upon himself and his descendants. Those who arrive early to synagogue to recite Shacharit and are late to leave after praying Ma’ariv merit long life (Berachot 8a; Shulchan Aruch 90:11).
מצווה לרוץ לבית הכנסת, וכן לכל דבר מצווה, כדי לבטא את התשוקה לדברים שבקדושה, שנאמר (הושע ו, ג): "נִרְדְּפָה לָדַעַת אֶת ה'". וכשיצא מבית הכנסת ילך לאט, שלא יראה כמי ששמח לצאת מבית הכנסת (שו"ע או"ח צ, יב). (בפניני הלכה ליקוטים ח"א נתבארו הלכות בית הכנסת בפרק ו, ובמהדורה קמא זה היה בפניני הלכה חלק ד). It is a mitzvah to run to synagogue just as it is a mitzvah to run to perform every mitzvah, in order to express one’s passion for matters of sanctity, as it says (Hosea 6:3), “We will race on in order to know Hashem.” Likewise, when one leaves the synagogue, he should walk slowly, so that he not appear happy to leave the synagogue (Shulchan Aruch 90:12).