Commandment 48 - To Build a Fence Around Your Roof (And Protect From Other Life Threatening Hazards)
היא שצונו להסיר המכשולים והסכנות מכל מושבותינו, וזה שנבנה כותל סביב הגג וסביב הבורות והשיחין והדומה להם כדי שלא יפול המסתכן מהם או בהם, וכן כל המקומות המסוכנין והרעועים כלם יבנו על סדר שיסור הרעוע והסכנה, והוא אמרו יתעלה ועשית מעקה לגגך. ולשון ספרי ועשית זו מצות עשה. וכבר התבארו משפטי מצוה זו בבבא קמא. (כי תצא, הלכות רוצח פי"א):
That is that He commanded us to remove obstacles and dangers from all of our inhabitations. And that is that we build a wall around the roof, the pits, the ditches and that which is similar to them - so that the one in danger will not fall over them or into them. And likewise all dangerous and rickety places should all be built up properly to remove the ricketiness and the danger. And that is His, may He be exalted, saying, "you shall make a parapet for your roof" (Deuteronomy 22:8). And the language of the Sifrei (Sifrei Devarim 229:6) is, "'And you shall make' - that is a positive commandment." And the regulations of this commandment have already been explained in Bava Kamma. (See Parashat Ki Tetzei; Mishneh Torah, Murderer and the Preservation of Life 11.)
כִּ֤י תִבְנֶה֙ בַּ֣יִת חָדָ֔שׁ וְעָשִׂ֥יתָ מַעֲקֶ֖ה לְגַגֶּ֑ךָ וְלֹֽא־תָשִׂ֤ים דָּמִים֙ בְּבֵיתֶ֔ךָ כִּֽי־יִפֹּ֥ל הַנֹּפֵ֖ל מִמֶּֽנּוּ׃
When you build a new house, you shall make a parapet for your roof, so that you do not bring bloodguilt on your house if anyone should fall from it.
רַ֡ק הִשָּׁ֣מֶר לְךָ֩ וּשְׁמֹ֨ר נַפְשְׁךָ֜ מְאֹ֗ד פֶּן־תִּשְׁכַּ֨ח אֶת־הַדְּבָרִ֜ים אֲשֶׁר־רָא֣וּ עֵינֶ֗יךָ וּפֶן־יָס֙וּרוּ֙ מִלְּבָ֣בְךָ֔ כֹּ֖ל יְמֵ֣י חַיֶּ֑יךָ וְהוֹדַעְתָּ֥ם לְבָנֶ֖יךָ וְלִבְנֵ֥י בָנֶֽיךָ׃
But take utmost care and watch yourselves scrupulously, so that you do not forget the things that you saw with your own eyes and so that they do not fade from your mind as long as you live. And make them known to your children and to your children’s children:
מִצְוַת עֲשֵׂה לַעֲשׂוֹת אָדָם מַעֲקֶה לְגַגּוֹ שֶׁנֶּאֱמַר (דברים כב ח) "וְעָשִׂיתָ מַעֲקֶה לְגַגֶּךָ". וְהוּא שֶׁיִּהְיֶה בֵּית דִּירָה. אֲבָל בֵּית הָאוֹצָרוֹת וּבֵית הַבָּקָר וְכַיּוֹצֵא בָּהֶן אֵינוֹ זָקוּק לוֹ. וְכָל בַּיִת שֶׁאֵין בּוֹ אַרְבַּע אַמּוֹת עַל אַרְבַּע אַמּוֹת פָּטוּר מִן הַמַּעֲקֶה:
It is a positive commandment for a man to build a guardrail for his roof, as Deuteronomy 22:8 says: "And you shall make a guardrail for your roof."This applies with regard to a building used as a dwelling. But for a warehouse or a cattle barn and the like, there is no necessity. Similarly, any building that is not four cubits by four cubits does not require a guardrail.
גֹּבַהּ הַמַּעֲקֶה אֵין פָּחוֹת מֵעֲשָׂרָה טְפָחִים כְּדֵי שֶׁלֹּא יִפּל מִמֶּנּוּ הַנּוֹפֵל. וְצָרִיךְ לִהְיוֹת הַמְחִצָּה חֲזָקָה כְּדֵי שֶׁיִּשָּׁעֵן אָדָם עָלֶיהָ וְלֹא תִּפּל. וְכָל הַמֵּנִיחַ גַּגּוֹ בְּלֹא מַעֲקֶה בִּטֵּל מִצְוַת עֲשֵׂה וְעָבַר עַל לֹא תַּעֲשֶׂה שֶׁנֶּאֱמַר (דברים כב ח) "וְלֹא תָשִׂים דָּמִים בְּבֵיתֶךָ". וְאֵין לוֹקִין עַל לָאו זֶה מִפְּנֵי שֶׁאֵין בּוֹ מַעֲשֶׂה:
The height of a guardrail should not be any less than ten handbreadths, so that a person who might fall will not fall from it.A guardrail must be a partition strong enough to enable a person to lean on it without falling.Anyone who leaves his roof open without a guardrail negates the observance of a positive commandment and violates a negative commandment, as Deuteronomy 22:8 states: "Do not cause blood to be spilled in your home." The violation of this commandment is not punished by lashes, for it does not involve a deed.
אֶחָד הַגַּג וְאֶחָד כָּל דָּבָר שֶׁיֵּשׁ בּוֹ סַכָּנָה וְרָאוּי שֶׁיִּכָּשֵׁל בָּהּ אָדָם וְיָמוּת. כְּגוֹן שֶׁהָיְתָה לוֹ בְּאֵר אוֹ בּוֹר בַּחֲצֵרוֹ בֵּין שֶׁיֵּשׁ בּוֹ מַיִם בֵּין שֶׁאֵין בּוֹ מַיִם חַיָּב לַעֲשׂוֹת חֻלְיָא גְּבוֹהָה עֲשָׂרָה טְפָחִים. אוֹ לַעֲשׂוֹת לָהּ כִּסּוּי כְּדֵי שֶׁלֹּא יִפּל בָּהּ אָדָם וְיָמוּת.

וְכֵן כָּל מִכְשׁל שֶׁיֵּשׁ בּוֹ סַכָּנַת נְפָשׁוֹת מִצְוַת עֲשֵׂה לַהֲסִירוֹ וּלְהִשָּׁמֵר מִמֶּנּוּ וּלְהִזָּהֵר בַּדָּבָר יָפֶה יָפֶה. שֶׁנֶּאֱמַר (דברים ד ט) "הִשָּׁמֶר לְךָ וּשְׁמֹר נַפְשְׁךָ". וְאִם לֹא הֵסִיר וְהֵנִיחַ הַמִּכְשׁוֹלוֹת הַמְּבִיאִין לִידֵי סַכָּנָה בִּטֵּל מִצְוַת עֲשֵׂה וְעָבַר בְּ(דברים כב ח) "לֹא תָשִׂים דָּמִים":
This requirement applies to a roof, and similarly, to any place that might present a danger and cause a person to stumble and die. For example, if a person has a well or a cistern in his courtyard, he must erect a sand wall ten handbreadths high around them or make a cover for them, so that a person will not fall in and die.Similarly, it is a positive mitzvah to remove any obstacle that could pose a danger to life, and to be very careful regarding these matters, as Deuteronomy 4:9 states: "Beware for yourself; and guard your soul." If a person leaves a dangerous obstacle and does not remove it, he negates the observance of a positive commandment, and violates the negative commandment: "Do not cause blood to be spilled."
הַרְבֵּה דְּבָרִים אָסְרוּ חֲכָמִים מִפְּנֵי שֶׁיֵּשׁ בָּהֶם סַכָּנַת נְפָשׁוֹת. וְכָל הָעוֹבֵר עֲלֵיהֶן וְאוֹמֵר הֲרֵינִי מְסַכֵּן בְּעַצְמִי וּמַה לַּאֲחֵרִים עָלַי בְּכָךְ אוֹ אֵינִי מַקְפִּיד בְּכָךְ מַכִּין אוֹתוֹ מַכַּת מַרְדּוּת:
Our Sages forbade many matters because they involve a threat to life. Whenever a person transgresses these guidelines, saying: "I will risk my life, what does this matter to others," or "I am not careful about these things," he should be punished by stripes for rebelliousness.
מצות עשה להסיר כל מכשול שיש בו סכנת נפשות ועשיית מעקה לגגו. ובו י סעיפים:מצות עשה לעשות אדם מעקה לגגו שנא' ועשית מעקה לגגך והוא שיהיה בית דיר' אבל בית אוצרות ובית הבקר וכיוצא בהן אינו זקוק לו:
It is a positive commandment to make a fence on one's roof as it says "and you shall make a fence for your roof". This applies if it is a dwelling place, but a storage house or a cattle house and the like do not require one.
כי תבנה. אין לי אלא בונה, לקח, ירש, ונתן לו במתנה מניין, ת"ל ולא תשים דמים בביתך – מכל מקום [ספרי].
מִדְּרַבִּי נָתָן. דְּתַנְיָא, רַבִּי נָתָן אוֹמֵר: מִנַּיִין שֶׁלֹּא יְגַדֵּל אָדָם כֶּלֶב רַע בְּתוֹךְ בֵּיתוֹ, וְאַל יַעֲמִיד סוּלָּם רָעוּעַ בְּתוֹךְ בֵּיתוֹ? תַּלְמוּד לוֹמַר: ״לֹא תָשִׂים דָּמִים בְּבֵיתֶךָ״.
וְכֵן אָסְרוּ חֲכָמִים לְגַדֵּל חֲזִירִים בְּכָל מָקוֹם. וְלֹא אֶת הַכֶּלֶב אֶלָּא אִם כֵּן הָיָה קָשׁוּר בְּשַׁלְשֶׁלֶת. אֲבָל מְגַדֵּל הוּא כְּלָבִים בָּעִיר הַסְּמוּכָה לַסְּפָר. בַּיּוֹם קוֹשְׁרוֹ וּבַלַּיְלָה מַתִּירוֹ. וְאָמְרוּ חֲכָמִים אָרוּר מְגַדֵּל כְּלָבִים וַחֲזִירִים מִפְּנֵי שֶׁהֶזֵּקָן מְרֻבֶּה וּמָצוּי:
Similarly, our Sages forbade raising pigs in all places. Also, [our Sages forbade raising] dogs unless they are tied by a chain. One may, however, raise dogs in a city near the border. During the day [the dogs] should be chained, and at night let loose. Our Sages said: "Cursed be one who raises dogs and pigs, because they frequently cause a great degree of damage."
וכן כל מכשול שיש בו סכנת נפשות מצות עשה להסירו ולהשמר ממנו ולהזהר בדבר יפה שנאמר השמר לך ושמור נפשך ואם לא הסיר והניח המכשולות המביאים לידי סכנה ביטל מצות עשה ועובר בלא תשים דמים:
Likewise, one has a positive duty to remove and guard oneself of any life-threatening obstacle, as it is said "beware and guard your soul". If one did not removed said obstacles, one has cancelled a positive commandment and transgressed "do not bring bloodguilt" (Deut. 22:8).