ו צְרִיכָה לִהְיוֹת זְקוּפָה, אָרְכָּהּ לְאֹרֶךְ מְזוּזַת הַפֶּתַח, וִיכַוֵּן שֶׁיְּהֵא שְׁמַע (דְּבָרִים ו, ד) דְּהַיְנוּ סוֹף הַגְּלִילָה, לְצַד חוּץ. הַגָּה: וְכֵן נָהֲגוּ. (בֵּית יוֹסֵף) אֲבָל יֵשׁ אוֹמְרִים שֶׁפְּסוּלָה בִּזְקוּפָה, אֶלָּא צְרִיכָה לִהְיוֹת שְׁכוּבָה, אָרְכָּהּ לְרֹחַב מְזוּזַת הַפֶּתַח (טוּר וְהַפּוֹסְקִים בְּשֵׁם רַבֵּנוּ תָּם). וְהַמְּדַקְדְּקִין, יוֹצְאִין יְדֵי שְׁנֵיהֶם, וּמַנִּיחִים אוֹתָהּ בְּשִׁפּוּעַ וּבַאֲלַכְסוֹן (טוּר וְהַגָּהוֹת מַיְמוֹנִי ומהרי"ל ות"ה סי' נ"ב), וְכֵן רָאוּי לִנְהֹג, וְכֵן נוֹהֲגִין בִּמְדִינוֹת אֵלּוּ. וִיכַוֵּן שֶׁיְּהֵא רֹאשׁ הַמְּזוּזָה, דְּהַיְנוּ שְׁמַע (דְּבָרִים ו, ד) לְצַד פְּנִים, וְשִׁיטָה אַחֲרוֹנָה לְצַד חוּץ.
6 The mezuzah should be erect lengthwise on the length of the doorpost of the doorway, and one should intend that the [word] shema that is at the end of the scroll should be [facing] the outside. Rema: And that is how they practice, but there are those who say that [the mezuzah] is invalid erect, rather its length needs to be inclined towards the width of the doorpost of the doorway [that is to say, horizontally]. And those who are scrupulous fulfill both [opinions] and place the mezuzah at an incline, at a diagonal. And this is how it is proper to practice, and this is how we practice in these places, and one should intend that the top of the mezuzah, where the [word] shema is, should be towards the inside and the last line should be facing outside.