When one enters the beit knesset and hears that the congregation is reciting Keriat Shema, even if he has already recited it, he is nevertheless obligated to say the verse of "Shema Yisrael" with the congregation, so that he does not appear as one who does not wish to accept upon himself the yoke of the Kingdom of Heaven with his fellows. And so too, if he is in the beit knesset studying, or saying Tachanunim, or other matters in which he is permitted to interrupt, when the congregation reaches "Shema Yisrael" – he answers with them together. But if he is engaged in a place where he is not permitted to interrupt, such as from "Baruch She'amar" onwards, our teacher, the Beit Yosef, in section 2 ruled that he should not interrupt. Rather, at the time the congregation answers Shema Yisrael – he should say the melody of it upon the words where he is standing, so that it will appear as if he is reciting with them. Thus far his words. And some say that he interrupts even in the middle of the blessings of Keriat Shema to answer "Shema Yisrael" with the congregation (Bach and Magen Avraham, subsection 4). And we do not practice accordingly. However, in Pesukei D'Zimrah, one should certainly interrupt. And our teacher, the Beit Yosef, follows his reasoning in siman 51 that one should not interrupt in Pesukei D'Zimrah for the answering of "Amen." But we have already explained there that we do answer "Amen" according to the Ari, of blessed memory, see there. If so, the answering of "Shema Yisrael" is no less than the answering of "Amen." And know that there are those who wish to say that for anything the congregation says, such as "Tehillah L'David" – one answers with them (Magen Avraham, subsection 3). And we do not practice accordingly, except regarding "Shema Yisrael" and regarding "Aleinu" when they say "and we bow" – one must bow with them, as with "Modim," so that it does not appear that the entire people are bowing and he is not bowing. And some are accustomed to also say "Aleinu" with the congregation.
כשנכנס לבית הכנסת ושומע שציבור קורין קריאת שמע, אפילו אם הוא כבר קרא מכל מקום מחויב לומר עם הציבור פסוק של "שמע ישראל", שלא יראה כאינו רוצה לקבל עליו עול מלכות שמים עם חביריו. וכן אם הוא בבית הכנסת שלומד, או אומר תחנונים, או שארי דברים שרשאי לפסוק בהם, כשיגיע הציבור ל"שמע ישראל" – עונה עמהם ביחד. אבל אם הוא עוסק במקום שאינו רשאי להפסיק, כמו מ"ברוך שאמר" ואילך, פסק רבינו הבית יוסף בסעיף ב שלא יפסיק. אלא בשעה שהציבור עונין שמע ישראל – יאמר ניגון זה על התיבות שעומד שם, שיהא נראה כאלו קורא עמהם. עד כאן לשונו. ויש אומרים דמפסיק אפילו באמצע ברכת קריאת שמע לענות "שמע ישראל" עם הציבור (ב"ח ומגן אברהם סעיף קטן ד'). ואנו אין נוהגין כן. מיהו בפסוקי דזמרה וודאי יש להפסיק. ורבינו הבית יוסף הולך לשיטתו בסימן נ"א דאין להפסיק בפסוקי דזמרא בעניית "אמן". אבל כבר בארנו שם דאנו עונין "אמן" על פי האר"י ז"ל, עיין שם. אם כן לא גרע עניית "שמע ישראל" מעניית "אמן". ודע שיש רוצים לומר דכל דבר שהציבור אומרים, כמו "תהלה לדוד" – עונים עמהם (מגן אברהם סעיף קטן ג'). ואנו אין נוהגין כן, רק ב"שמע ישראל" וב"עלינו" כשאומרים "ואנחנו כורעים" – צריך לכרוע עמהם, כמו ב"מודים", משום דלא ליתחזי שכל העם כורעים והוא אינו כורע. ויש נוהגים לומר גם "עלינו" עם הציבור.