Save "Why do we do that? Mezuzah edition
"
Why do we do that? Mezuzah edition

(ד) שְׁמַ֖ע יִשְׂרָאֵ֑ל יְהוָ֥ה אֱלֹהֵ֖ינוּ יְהוָ֥ה ׀ אֶחָֽד׃ (ה) וְאָ֣הַבְתָּ֔ אֵ֖ת יְהוָ֣ה אֱלֹהֶ֑יךָ בְּכָל־לְבָבְךָ֥ וּבְכָל־נַפְשְׁךָ֖ וּבְכָל־מְאֹדֶֽךָ׃ (ו) וְהָי֞וּ הַדְּבָרִ֣ים הָאֵ֗לֶּה אֲשֶׁ֨ר אָנֹכִ֧י מְצַוְּךָ֛ הַיּ֖וֹם עַל־לְבָבֶֽךָ׃ (ז) וְשִׁנַּנְתָּ֣ם לְבָנֶ֔יךָ וְדִבַּרְתָּ֖ בָּ֑ם בְּשִׁבְתְּךָ֤ בְּבֵיתֶ֙ךָ֙ וּבְלֶכְתְּךָ֣ בַדֶּ֔רֶךְ וּֽבְשָׁכְבְּךָ֖ וּבְקוּמֶֽךָ׃ (ח) וּקְשַׁרְתָּ֥ם לְא֖וֹת עַל־יָדֶ֑ךָ וְהָי֥וּ לְטֹטָפֹ֖ת בֵּ֥ין עֵינֶֽיךָ׃ (ט) וּכְתַבְתָּ֛ם עַל־מְזוּזֹ֥ת בֵּיתֶ֖ךָ וּבִשְׁעָרֶֽיךָ׃ (ס)

(4) Hear, O Israel! The LORD is our God, the LORD alone. (5) You shall love the LORD your God with all your heart and with all your soul and with all your might. (6) Take to heart these instructions with which I charge you this day. (7) Impress them upon your children. Recite them when you stay at home and when you are away, when you lie down and when you get up. (8) Bind them as a sign on your hand and let them serve as a symbol on your forehead; (9) inscribe them on the doorposts of your house and on your gates.

(ד) יש אומרים כשאדם יוצא מן הבית – יניח ידו על המזוזה ויאמר "ה' ישמור צאתי ובואי", וכן כשנכנס לבית. ויש לזה קצת מקור בגמרא פרק "לפני אידיהן" במעשה דאונקלס, עיין שם (עבודה זרה יא א). וכשיוצא לדרך חוץ לעיר, יניח ידו על המזוזה ויאמר: "בשמך טל אטלה", כי "טל" בגימטריא שם כוז"ו הנכתב אחורי המזוזה, שהם אותיות שלאחר שם הוי"ה. ויש מי שכתב שיניח אצבעו השלישי על שם "שדי", ויתפלל לה' שישמרנו בשם זה, וינשק אצבעו זה (ברכי יוסף).

Some say that a person who leaves the house should place their hand on the mezuzah and say: Eternal guard my going out and my coming in." and also when they enter the house. There is a hint at a source for this practice in the Talmud (in the first chapter of Avodah Zarah) in the practice of Onkelos, see there (11a). And when travelling outside the city, they place their hand on the mezuzah and say "in Your Name I will sprinkle dew" since "dew"...There is one opinion that one places the third finger (middle finger) on the name "Shadai," written on the outside of the mezuzah, and prays to God to protect them in this Name, and kisses his finger afterwards (Birkei Yosef-- 18th ce. Jerusalem).

נתפרדה חבילה אונקלוס בר קלונימוס איגייר שדר קיסר גונדא דרומאי אבתריה משכינהו בקראי איגיור הדר שדר גונדא דרומאי [אחרינא] אבתריה אמר להו לא תימרו ליה ולא מידי כי הוו שקלו ואזלו אמר להו אימא לכו מילתא בעלמא ניפיורא נקט נורא קמי פיפיורא פיפיורא לדוכסא דוכסא להגמונא הגמונא לקומא קומא מי נקט נורא מקמי אינשי אמרי ליה לא אמר להו הקב"ה נקט נורא קמי ישראל דכתיב (שמות יג, כא) וה' הולך לפניהם יומם וגו' איגיור [כולהו] הדר שדר גונדא אחרינא אבתריה אמר להו לא תשתעו מידי בהדיה כי נקטי ליה ואזלי חזא מזוזתא [דמנחא אפתחא] אותיב ידיה עלה ואמר להו מאי האי אמרו ליה אימא לן את אמר להו מנהגו של עולם מלך בשר ודם יושב מבפנים ועבדיו משמרים אותו מבחוץ ואילו הקב"ה עבדיו מבפנים והוא משמרן מבחוץ שנאמר (תהלים קכא, ח) ה' ישמר צאתך ובואך מעתה ועד עולם איגיור תו לא שדר בתריה (בראשית כה, כג) ויאמר ה' לה שני גוים בבטנך אמר רב יהודה אמר רב אל תקרי גוים אלא גיים זה אנטונינוס ורבי שלא פסקו מעל שולחנם לא חזרת ולא קישות ולא צנון לא בימות החמה ולא בימות הגשמים דאמר מר צנון מחתך אוכל חזרת מהפך מאכל קישות מרחיב מעיים והא תנא דבי רבי ישמעאל למה נקרא שמן קישואין מפני שקשין לגופו של אדם כחרבות לא קשיא הא ברברבי הא בזוטרי: יום הלידה ויום המיתה: מכלל דר"מ סבר לא שנא מיתה שיש בה שריפה ולא שנא מיתה שאין בה שריפה פלחי בה לעבודת כוכבים אלמא שריפה לאו חוקה היא מכלל דרבנן סברי שריפה חוקה היא והא תניא שורפין על המלכים ולא מדרכי האמורי ואי חוקה היא אנן היכי שרפינן והכתיב (ויקרא יח, ג) ובחוקותיהם לא תלכו אלא דכ"ע שריפה לאו חוקה היא אלא חשיבותא היא והכא בהא קמיפלגי ר"מ סבר לא שנא מיתה שיש בה שריפה ולא שנא מיתה שאין בה שריפה פלחי בה לעבודת כוכבים ורבנן סברי מיתה שיש בה שריפה חשיבא להו ופלחי בה ושאין בה שריפה לא חשיבא ולא פלחי בה גופא שורפין על המלכים ואין בו משום דרכי האמורי שנאמר (ירמיהו לד, ה) בשלום תמות ובמשרפות אבותיך המלכים וגו' וכשם ששורפין על המלכים כך שורפין על הנשיאים ומה הם שורפין על המלכים מיטתן וכלי תשמישן ומעשה שמת ר"ג הזקן ושרף עליו אונקלוס הגר שבעים מנה צורי והאמרת מה הן שורפין עליהם מיטתן וכלי תשמישן אימא בשבעים מנה צורי ומידי אחרינא לא והתניא עוקרין על המלכים ואין בו משום דרכי האמורי אמר רב פפא סוס שרכב עליו ובהמה טהורה לא והתניא עיקור שיש בה טריפה אסור ושאין בה טריפה מותר ואיזהו עיקור שאין בה טריפה

Onkelos bar Kelonimos converted to Judaism. The Roman emperor sent a troop of Roman soldiers after him. He drew them in him with Torah verses; they converted. The emperor then sent another troop of Roman soldiers after him, and said to them: Do not say anything to him, When they were walking, he said: I will say a mere statement to you: A minor official holds a torch before a high official, the high official for a duke, a duke for the governor, the governor for the ruler. Does the ruler hold a torch before the people? They said to him: No. He said to them: But the Holy One holds a torch before the Jewish people, as it is written: “And the Eternal went before them by day in a pillar of cloud, to lead them the way, and by night in a pillar of fire, to give them light” (Exodus 13:21). They all converted. The emperor then sent another troop of soldiers after him, and said to them: Do not converse with him at all. While they grabbed him and were walking, Onkelos saw a mezuza that was placed on the doorway. He placed his hand upon it and said to them: What is this? They said to him: You tell us. He said to them: In the way of the world, a king of flesh and blood sits inside, and his servants guard him outside; but with the Holy One, the servants, sit inside and God guards over them outside. As it is stated: “The Lord shall guard your going out and your coming in, from now and forever” (Psalms 121:8). Upon hearing this, those soldiers also converted to Judaism. After that, the emperor sent no more soldiers after him. §