סימן קסה סעיף ב
הַגָּעַת זְמַן הַחִנּוּךְ לְמִצְוֹת עֲשֵׂה, הִיא בְּכָל תִּינוֹק לְפִי חָכְמָתוֹ וַהֲבָנָתוֹ. כְּגוֹן הַיּוֹדֵעַ מֵעִנְיַן שַׁבָּת, חַיָב לִשְׁמוֹעַ קִדּוּשׁ וְהַבְדָּלָה, וְכֹל כַּיּוֹצֵא בָזֶה. וְהַחִנּוּךְ בְמִצְוַת לֹא תַעֲשֶׂה, בֵּין בִּדְאוֹרַיְתָא בֵּין בִּדְרַבָּנָן, הוּא בְּכָל תִּינוֹק שֶׁהוּא בַר הֲבָנָה שֶׁמֵּבִין כְּשֶׁאוֹמְרִים לוֹ שֶׁזֶּה אָסוּר לַעֲשׂוֹת אוֹ אָסוּר לֶאֱכוֹל. וְיֵשׁ לְחַנֵּךְ הַקְּטַנִּים שֶׁיַעֲנוּ בְבֵית הַכְּנֶסֶת אָמֵן וּשְׁאָר הַדְבָרִים. וּמִשָּׁעָה שֶׁהַתִּינוֹק עוֹנֶה אָמֵן, יֵשׁ לוֹ חֵלֶק לָעוֹלָם הַבָּא. וּצְרִיכִים לְחַנְּכָם שֶׁיַעַמְדוּ בְבֵית הַכְּנֶסֶת בְּאֵימָה וּבְיִרְאָה. אֲבָל אוֹתָן שֶׁהֵם רָצִים וְשָׁבִים וּמְבַלְבְּלִים, מוּטָב שֶלֹּא לַהֲבִיאָם.
The time for training a child in the performance of positive commandments is set for each child according to his wisdom and understanding. For example, when he knows the significance of Shabbos, it is his duty6Some say that it is not the child who is obligated, but, rather, it is the father who has the obligation to train him. Rashi, Meseches Berachos 48a. However, Tosafos disagrees and maintains that the child, too, is obligated to keep the mitzvos. to hear kiddush and havdalah, and other similar things. Training the child to keep the prohibitive commandments, whether Biblical or Rabbinical, applies to every child, who understands when he is told that something is forbidden to do or forbidden to eat.7If he does not have this much understanding, you do not have to stop him from acts that violate those mitzvos. (Mishna Berurah 343:2) Young children should be trained to answer Amein in the synagogue, and to participate in other aspects of synagogue prayer. From the time a child answers Amein [to a berachah] he has a share in the World to Come.8Ramah (Orach Chaim) 124:7. They must be trained to behave in the synagogue with awe and reverence. Children who run about to and fro, and disturb the prayers, should not be brought to the synagogue.9Magain Avraham 124:11.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)