Halachah · Shulchan Aruch

Shulchan Arukh, Yoreh De'ah 357/שולחן ערוך·יורה דעה שנ״ז

א
איסור הלנת המת ומתי מותר להלינו. ובו ב' סעיפים:
אסור להלין המת אלא אם כן הלינו לכבודו להביא לו ארון ותכריכין או מקוננות או כדי שיבאו קרובים או להשמיע עיירות:
1
It is prohibited to leave the corpse [unburied] over night, unless they left him over night for the sake of his honour, [viz.,] to provide for him a coffin or shrouds,1 or [professional] lamenting women,2 or in order that relatives should [have time] to come,3 or to assemble [surrounding] townships [for his funeral].4
ב
כל המתים הממהר להוציא מטתו הרי זה משובח אבל על אביו ועל אמו ה"ז מגונה אא"כ היה ערב שבת או ערב יו"ט או שהיו גשמים מזלפים על מטתו:
2
[With respect to] all [other] dead, whoever removes the bier hurriedly5 is [considered] praiseworthy;6 for one's father or mother it is [considered] reprehensible, unless it was on the eve of the Sabbath or on the eve of a Festival,7 or if rain was pouring down on his bier.8