The Shulchan Aruch · Orach Chayim
אורח חיים ס״דOrach Chayim 64
Siman 64 of 697 in Orach Chayim — 4 se'ifim
הלכות קריאת שמעLaws of Reciting Shema· siman 64
Se’if 1א׳
קְרָאָהּ לְמַפְרֵעַ, לֹא יָצָא, בַּמֶּה דְּבָרִים אֲמוּרִים, בְּסֵדֶר הַפְּסוּקִים, אֲבָל אִם הִקְדִּים פָּרָשָׁה לַחֲבֶרְתָּהּ, אַף עַל פִּי שֶׁאֵינוֹ רַשַּׁאי, יָצָא, לְפִי שֶׁאֵינָהּ סְמוּכָה לָהּ בַּתּוֹרָה.
Laws of One who Errs During the Recitation of the Sh'ma, containing 4 s'ifim One who read it out of order has not fulfilled [their obligation]. This applies with regard to the order of the verses, but if one advanced a section ahead of its peer, even though they are not allowed to do so [intentionally], they have fulfilled [their obligation] since it is not adjacent in the Torah [itself].
Se’if 2ב׳
קָרָא פָּרָשָׁה וְטָעָה בָּהּ, אִם יוֹדֵעַ הֵיכָן טָעָה, כְּגוֹן שֶׁקָּרָא כֻּלָּהּ אֶלָּא שֶׁדִּלֵּג פָּסוּק א' בָּאֶמְצַע, חוֹזֵר לְרֹאשׁ אוֹתוֹ הַפָּסוּק וְגוֹמֵר הַפָּרָשָׁה, וְאִם אֵינוֹ יוֹדֵעַ הֵיכָן טָעָה, חוֹזֵר לְרֹאשׁ הַפָּרָשָׁה.
One who read a section and erred in it: if he knows where he erred, for example, he read the whole section but skipped one verse in the middle, he returns to the beginning of that verse and finishes the section. But if one does not know where one erred, he returns to the beginning of the section.
Se’if 3ג׳
טָעָה בֵּין פָּרָשָׁה לְפָרָשָׁה, שֶׁהוּא יוֹדֵעַ שֶׁסִיֵּם פָּרָשָׁה וְאֵינוֹ יוֹדֵעַ אִם רִאשׁוֹנָה אִם שְׁנִיָּה, חוֹזֵר לְפָרָשָׁה רִאשׁוֹנָה, וְיַתְחִיל וְהָיָה אִם שָׁמוֹעַ.
One who erred in-between sections, in that he knows that he completed a section, but does not know if it was the first ("v'ahavta") or the second [section] ("v'haya im shamoah"), he returns to [the end of] the first section and then begins "If you will listen...".
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0