1. The First Instance of Shmirah
(10) Then Rizpah daughter of Aiah took sackcloth and spread it on a rock for herself, and she stayed there from the beginning of the harvest until rain from the sky fell on the bodies; she did not let the birds of the sky settle on them by day or the wild beasts [approach] by night.
2. Protection From Animals
כל זמן שאדם חי אימתו מוטלת על הבריות כיון שמת בטלה אימתו
The Gemara explains: As long as a person is alive [ḥai], he is feared by the animals. Once he dies, he is no longer feared.
3. Exemption from Mitzvot by Doing Shmirah
מֵתוֹ — אִין, אֲבָל מְשַׁמְּרוֹ — לָא. וְהָתַנְיָא: הַמְשַׁמֵּר אֶת הַמֵּת, אַף עַל פִּי שֶׁאֵינוֹ מֵתוֹ — פָּטוּר מִקְּרִיאַת שְׁמַע וּמִן הַתְּפִלָּה וּמִן הַתְּפִילִּין וּמִכׇּל מִצְוֹת הָאֲמוּרוֹת בַּתּוֹרָה! מְשַׁמְּרוֹ, אַף עַל פִּי שֶׁאֵינוֹ מֵתוֹ, מֵתוֹ אַף עַל פִּי שֶׁאֵינוֹ מְשַׁמְּרוֹ. מֵתוֹ וּמְשַׁמְּרוֹ — אִין, אֲבָל מְהַלֵּךְ בְּבֵית הַקְּבָרוֹת — לָא....
הָיוּ שְׁנַיִם — זֶה מְשַׁמֵּר וְזֶה קוֹרֵא, וְזֶה מְשַׁמֵּר וְזֶה קוֹרֵא. בֶּן עַזַּאי אוֹמֵר: הָיוּ בָּאִים בִּסְפִינָה — מַנִּיחוֹ בְּזָוִית זוֹ, וּמִתְפַּלְּלִין שְׁנֵיהֶם בְּזָוִית אַחֶרֶת. מַאי בֵּינַיְיהוּ? אָמַר רָבִינָא: חוֹשְׁשִׁין לְעַכְבָּרִים אִיכָּא בֵּינַיְיהוּ. מָר סָבַר: חָיְישִׁינַן. וּמַר סָבַר: לָא חָיְישִׁינַן.
From the mishna one can infer that when his deceased relative is laid out before him, yes, he is exempt from mitzvot. But, if it is not his relative and he is only watching over the deceased, no, he is not exempt. The Gemara challenges: Wasn’t it taught in a baraita: One who watches over the deceased, even if it is not his deceased relative, is exempt from the recitation of Shema, from prayer and from phylacteries, and from all mitzvot mentioned in the Torah? The Gemara responds that these two sources should not be understood as contradictory, but as complementary. In both the cases, he is exempt; where one watches over the deceased, but it is not his deceased relative, as well as the case where it is his deceased relative, but he is not watching over the deceased. The Gemara further challenges: We concluded that, in both cases, if it is his deceased relative or if he was watching over the unrelated deceased, he is exempt from mitzvot....
The baraita continues: If two individuals were watching over the deceased, this one watches and that one recites Shema, and then that one watches and this one recites Shema. Ben Azzai says: If they were traveling with the deceased on a boat, they are permitted to set the deceased down in this corner of the boat and both pray in another corner of the boat. The Gemara asks: What is the practical difference between these two opinions? Ravina said: The practical difference between them is whether or not one need be concerned about mice even inside the boat. The first Sage holds that we are concerned about mice everywhere, and it is therefore inappropriate to leave the deceased unguarded, even on a boat, lest he be eaten by mice. The other Sage, ben Azzai, maintains that we are not concerned about mice on a boat.
4. Summary of Earlier Sources
(ג) מִי שֶׁמֵּת לוֹ מֵת שֶׁהוּא חַיָּב לְהִתְאַבֵּל עָלָיו פָּטוּר מִקְּרִיאַת שְׁמַע עַד שֶׁיִּקְבְּרֶנּוּ מִפְּנֵי שֶׁאֵין דַּעְתּוֹ פְּנוּיָה לִקְרוֹת. וְאִם הָיָה מְשַׁמֵּר אֶת הַמֵּת אַף עַל פִּי שֶׁאֵינוֹ מֵתוֹ פָּטוּר מִקְּרִיאַת שְׁמַע. וְאִם הָיוּ הַשּׁוֹמְרִים שְׁנַיִם הָאֶחָד מְשַׁמֵּר וְהַשֵּׁנִי נִשְׁמָט לְמָקוֹם אַחֵר וְקוֹרֵא וְחוֹזֵר וּמְשַׁמֵּר וְנִשְׁמָט הָאַחֵר וְקוֹרֵא....
(3) He who has been bereaved of a relative for whom he has to keep the period of mourning is exempted from reading the Shema till he has buried the body, as his mind is not free for reading it. A watcher, even if the body is not that of a relative, is exempt from reading the Shema. When there are two watchers, one watches while the other withdraws to another room and reads it. Then he returns and watches while his companion withdraws and reads it....
5. The Kohen and Defilement
(ה) כל אלו שמיטמא להם אפי' שלא לצורך וי"א דדוקא לצורך: הגה ולסברא הראשונה אפילו מת לו מת בשבת שאי אפשר לקברו בו ביום שרי לטמאות לו ולשמרו כדי שלא יהא מוטל בבזיון (ת"ה סי' רפ"ג) ונכון להחמיר כסברא האחרונה שלא לטמאות רק לצורך קבורה ולהביא לו ארון ותכריכין (שם בשם תוספות שנ"ץ):
All those [near-of-kin] for whom he28The Kohen. defiles himself [applies] even [to a defilement] which is not for the requirements [of the corpse].29
Gloss: And according to the former opinion, even if he28The Kohen. suffered a bereavement on the Sabbath where it is impossible to bury him the same day [on account of the Sabbath], he28The Kohen. is permitted to defile himself for him and guard him so that he should not lie in disgrace.31 (Ter. ha-Deshen s. 283) It is proper to adopt the stringent view according to the latter opinion [viz.,] that he28The Kohen. should defile himself only for the requirements of the burial32 and [in order] to bring him a coffin and shrouds.33
6. Shmirah for Collection of Bones
(ט) המלקט עצמות והמשמר את המת והמוליך אותם ממקום למקום פטור מק"ש ומתפלה ומהתפילין ומכל מצות האמורות בתורה בין בחול בין בשבת לא שנא עצמות קרובים לא שנא עצמות רחוקים בין אם הוא בספינה או בדרך ואפילו אם הם מלקטים רבים ואם רצה להחמיר על עצמו לא יחמיר מפני כבוד עצמות:
(9) One who collects bones [for final burial] and one who guards the corpse and the one who carries them from place to place is exempt from the reading of the Shema8 from Tefillah,8 from Tefillin8 and from all religious duties enjoined in the Torah, both during a weekday as well as during the Sabbath,31This applies on the Sabbath only to guarding the corpse or the bones, for no collection of bones is made on the Sabbath. and there is no difference whether [these are] the bones of near-of-kin or of strangers, both if he is in a boat or on the road, even if the collectors [of the bones] are many.32This refers to those who collect the bones, but if there are many who guard the corpse or the bones, one guards and the other reads the Shema.
7. Shmirah on Shabbat
(י) הַמְשַׁמֵּר אֶת הַמֵּת אֲפִלּוּ אֵינוֹ מֵתוֹ, פָּטוּר מִקְּרִיאת שְׁמַע וּמִתְּפִלָה וּמִכָּל מִצְוֹת הָאֲמוּרוֹת בַּתּוֹרָה, כִּי הָעוֹסֵק בְּמִצְוָה, פָּטוּר מִמִּצְוָה אַחֶרֶת (וְעַיֵּן לְקַמָּן סִימָן קצו סָעִיף ב). הָיוּ שְׁנַיִם, זֶה מְשַׁמֵר, וְזֶה קוֹרֵא וּמִתְפַּלֵּל.
(יא) אָסוּר לֶאֱכֹל בְּחֶדֶר שֶׁהַמֵת שָׁם, אִם לֹא עַל יְדֵי מְחִצָּה (כְּדִלְקַמָּן סִימָן קצו סָעִיף א). וַאֲפִלּוּ אֲכִילַת אַרְעַי. וַאֲפִלּוּ אֲכִילַת פֵּרוֹת אוֹ שְׁתִיַת מַיִם, אָסוּר. וּצְרִיכִין לְהַזְהִיר אֶת הַשׁוֹמְרִים עַל זֹאת. וְגַם אָסוּר לְבָרֵךְ שָׁם אֵיזוֹ בְרָכָה. (וְעַיֵּן לְקַמָּן סִימָן קצט סָעִיף טו)
(10) The person who guards the deceased,7The deceased must be guarded from rodents. See Mishnah Beruch 71:12. even if he is not a mourner, is exempt from Kerias Shema and Shemoneh Esrei, and from all other mitzvos of the Torah,8 for he who is engaged in the performance of a mitzvah is exempt from performing another mitzvah.9 If there are two two watchmen, [they should alternate] one of them should guard, while the other says Krias Shema and Shemoneh Esrei.
(11) It is forbidden to eat [a meal] in the room where the deceased lies,10It is also forbidden to smoke in that room. (Sdei Chemed, Laws of mourning, 116.) unless there is a partition. It is even forbidden to have a snack, even to eat fruit or drink water is forbidden. It is necessary to instruct the guards about this. It is also forbidden to recite a berachah there.
8. One Who is Engaged in a Mitzvah is Exempt From Others.
(יב) (יב) פטור - מק"ש ותפלה וכל המצות מפני שהוא עוסק במצוה ששומרו מן העכברים ואפילו בספינה חיישינן לעכברים [גמרא]
One is exempt from saying the Shema and the Shmonah Esrei and other mitzvot because he is engaged in the mitzvah of guarding from rodents. Even on a ship we are concerned about rodents.
9. Modern Practical Halachah - taken from:
Tahara Manual of Practices by Rabbi Moshe Epstein including Halacha decisions of HaRav Hagaon Moshe Feinstein zt"l; Bridgeport, CT: Chevra Kadisha Zichron Shabtai Leib of Greater Bridgeport, June 1995
This publication is available through Feldheim Publishers and Kavod v'Nichum
10. Word Cloud from Comments by Shomrim for Ruth Bader Ginsburg