Shabbos23: 5
עוֹשִׂין כָּל צָרְכֵי הַמֵּת: סָכִין וּמְדִיחִין אוֹתוֹ, וּבִלְבַד שֶׁלֹּא יָזִיזוּ בוֹ אֵבֶר; שׁוֹמְטִין אֶת הַכַּר מִתַּחְתָּיו וּמַטִּילִין אוֹתוֹ עַל הַחוֹל בִּשְׁבִיל שֶׁיַּמְתִּין; קוֹשְׁרִים אֶת הַלֶּחִי, לֹא שֶׁיַּעֲלֶה, אֶלָּא שֶׁלֹּא יוֹסִיף. וְכֵן, קוֹרָה שֶׁנִּשְׁבְּרָה, סוֹמְכִין אוֹתָהּ בְּסַפְסָל אוֹ בַּאֲרוּכוֹת הַמִּטָּה, לֹא שֶׁתַּעֲלֶה, אֶלָּא שֶׁלֹּא תוֹסִיף. אֵין מְעַמְּצִין אֶת הַמֵּת בַּשַּׁבָּת, וְלֹא בַחֹל עִם יְצִיאַת נֶפֶשׁ, וְהַמְעַמֵּץ עִם יְצִיאַת נֶפֶשׁ, הֲרֵי זֶה שׁוֹפֵךְ דָּמִים.
We may attend to all the necessities of the deceased: We may anoint and rinse him, provided we do not move any of his limbs; we may pull the pillow from under him and lay him on the sand in order that [his body] keep; we may bind up the jaw, not that it should close, but that it should not [open any] further. So, too, [with] a beam that broke, we may support it with a bench or with the side-pieces of a bed, not that it should be raised, but that it should not [sag any] further. We may not close the eyes of the dead on the Sabbath, nor [may we do so] on a weekday at the moment of death, [for] whoever closes the eyes [of a dying person] at the moment of death is a murderer.
Shabbos24: 1
מִי שֶׁהֶחְשִׁיךְ בַּדֶּרֶךְ, נוֹתֵן כִּיסוֹ לְנָכְרִי, וְאִם אֵין עִמּוֹ נָכְרִי, מַנִּיחוֹ עַל הַחֲמוֹר. הִגִּיעַ לֶחָצֵר הַחִיצוֹנָה, נוֹטֵל אֶת הַכֵּלִים הַנִּטָּלִין בַּשַּׁבָּת; וְשֶׁאֵינָן נִטָּלִין בַּשַּׁבָּת, מַתִּיר אֶת הַחֲבָלִים, וְהַשַּׂקִּין נוֹפְלִין מֵאֲלֵיהֶם:
If darkness overtakes a person on the road, he may give his purse to a gentile; if no gentile is with him, he may place it on the donkey. When he reaches the outermost courtyard, he may remove those objects that may be handled on the Sabbath; and [as for] those that may not be handled on the Sabbath, he may untie the ropes, and [allow] the sacks [to] fall of themselves.