סימן יא סעיף י
אֵין הַבַּיִת חַיָּב בִּמְזוּזָה אֶלָּא אִם כֵּן יֵשׁ בּוֹ אַרְבַּע אַמּוֹת עַל אַרְבַּע אַמּוֹת. וְאִם אֵין בּוֹ אַרְבַּע אַמּוֹת עַל אַרְבַּע אַמּוֹת אֲבָל יֵשׁ בּוֹ כְּדֵי לְרַבֵּעַ אַרְבַּע אַמּוֹת עַל אַרְבַּע אַמּוֹת, כְּגוֹן שֶׁאָרְכּוֹ יָתֵר עַל רָחְבּוֹ אוֹ שֶׁהוּא עָגֹל, יֵשׁ אוֹמְרִים דְּחַיָּב, וְיֵשׁ אוֹמְרִים דְּפָטוּר (רפ"ו).
A house is not required to have a mezuzah unless it has the dimensions of four amos by four amos.5The house must have a room that is at least six feet square. A porch or garage must have a mezuzah even though there are less than six feet square. See Pischei Tshuvah, 286:9 If there are no dimensions of four amos by four amos but there is the equivalent area of the square of four amos, for example if the length was greater than the width or if the area was round; some maintain that it requires a mezuzah and others maintain that it does not.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)