Shulchan Aruch, Orach Chayim Siman 62

Siman 62

Presented here for study, not as a practical ruling. The Shulchan Aruch rules by Sephardi custom, the Rema's glosses by Ashkenazi custom, and the Kitzur follows Ashkenazi custom. For a practical question, ask your rabbi.

א אַף עַל פִּי שֶׁמִּצְוָה לְדַקְדֵּק בְּאוֹתִיּוֹתֶיהָ, קְרָאָהּ וְלֹא דִּקְדֵּק בָּהֶן, יָצָא.
1 [The Laws of] one who is not precise with the recitation of the Shema or did not make it heard to his [own] ears, and it contains 5 se'ifim Even though it is a mitzvah to be precise regarding the letters [of the Sh'ma], one who has recited it without being precise with them has [nonetheless] fulfilled their obligation.
ב יָכוֹל לִקְרוֹתָהּ בְּכָל לָשׁוֹן, וְיִזָּהֵר מִדִּבְרֵי שִׁבּוּשׁ שֶׁבְּאוֹתוֹ לָשׁוֹן, וִידַקְדֵּק בּוֹ כְּמוֹ בִּלְשׁוֹן הַקֹּדֶשׁ.
2 One may read [the Sh'ma] in any language, and they should be careful to avoid word mispronunciations in that language, and one should be precise in it just as in Hebrew [lit. "the Holy tongue"].
ג צָרִיךְ לְהַשְׁמִיעַ לְאָזְנוֹ מַה שֶּׁמּוֹצִיא בְּפִיו, וְאִם לֹא הִשְׁמִיעַ לְאָזְנוֹ, יָצָא, וּבִלְבַד שֶׁיּוֹצִיא בִּשְׂפָתָיו.
3 [When reading the Shema,] one must hear with their ears what comes out of their mouth, but if one did not hear it, they [still] fulfilled their obligation as long as they brought it out of their lips (i.e. articulated it with their mouth).
ד אִם מֵחֲמַת חֹלִי אוֹ אֹנֶס אַחֵר קָרָא קְרִיאַת שְׁמַע בְּלִבּוֹ, יָצָא: הַגָּה: וְאַף לְכַתְּחִלָּה יַעֲשֶׂה כֵן, אִם הוּא בְּמָקוֹם שֶׁאֵינוֹ נָקִי לְגַמְרֵי, וְאֵינוֹ יָכוֹל לְנַקּוֹתוֹ מִשּׁוּם אֹנֶס יְהַרְהֵר בְּלִבּוֹ, וּבִלְבַד שֶׁלֹּא יְהֵא הַמָּקוֹם מְטֻנָּף לְגַמְרֵי, דְּאָסוּר לְהַרְהֵר בְּדִבְרֵי תּוֹרָה בִּמְקוֹם הַטִּנֹּפֶת (בֵּית יוֹסֵף סי' פ"ה).
4 If, due to illness or some other unavoidable circumstance, one recited the recitation of the Sh'ma in their heart [i.e. silently], they fulfilled their obligation. Rema: And even optimally one may do this if they are in a place which is not completely clean and they are not able to clean it up due to unavoidable circumstances, [in such a case,] one may think [it] in their heart (i.e. recite it silently to themselves) as long as the place is not completely soiled [e.g. with excrement] since it is forbidden to think a matter of Torah in a soiled place. (Beit Yosef, Siman 85)
ה צָרִיךְ שְׁלִיחַ צִבּוּר לְהַשְׁמִיעַ קוֹלוֹ בִּשְׁמַע יִשְׂרָאֵל, כְּדֵי שֶׁיִּשְׁמְעוּ הַקָּהָל, וְיַמְלִיכוּ שֵׁם שָׁמַיִם בְּיַחַד:
5 The prayer-leader needs to make his voice heard with "Sh'ma Yisrael" so that the congregation will hear and declare the kingship of the Heavenly Name together.