Shulchan Arukh, Yoreh De'ah Siman 365
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
החופר כוך למת פטור מקריאת שמע ומן התפלה ומן התפילין ומכל מצות האמורות בתורה ואם הם שנים והגיע זמן ק"ש אחד עולה וקורא ק"ש ומתפלל וחוזר זה וחופר ועולה חבירו וקורא ק"ש ומתפלל ודוקא כוך דלא חפיר ליה אלא חד אבל אם היה מקום ששנים יכולים להתעסק בו כאחד פטורים:
One who digs a sepulchral chamber for a corpse is exempt¹ from reading the Shema, from [reciting] the Tefillah² § 341, 2. and from [wearing] phylacteries and from all religious duties enjoined in the Torah. If they were two [grave-diggers] and the time for reading the Shema arrived, one comes up³ adds: ‘and washes his hands.’ and reads the Shema and recites the Tefillah and [then] he returns and digs and his companion comes up and reads the Shema and recites the Tefillah. [And this applies] only to a sepulchral chamber which only one person [usually] digs, but if it was a place where two people may attend to it together, they are [both] exempt.⁴ in T.H. Cf. infra § 403, 9.
footnotes: ¹ Ber. 14b on the principle that ‘one who is engaged in a religious act is exempt from other religious duties’ (Suk. 25a). This applies even if the grave-digger is not related to the corpse — A.H. ² supra ³ Tur ⁴ N
מרחיקין הקברות מהעיר חמשים אמה:
Graves must be kept removed from a town [a distance of] fifty cubits.⁵
footnotes: ⁵ Mishna B.B. 25a. On account of the bad odour. Cf. Ḥ.M. § 155, 23.