MISHNA: One may wait at the Shabbat limit until nightfall to attend to the affairs of a bride, and to the affairs of a dead person, to bring him a coffin and shrouds. A gentile who brought flutes on Shabbat—an Israelite may not lament with them unless they came from a nearby place. If they made a coffin for him [a gentile] and dug a grave for him, an Israelite may be buried in it; but if [it was made] for an Israelite, he may never be buried in it.
משנה: מחשיכין על התחום לפקח על עיסקי כלה ועל עיסקי המת להביא לו ארון ותכריכין. גוי שהביא חלילין בשבת לא יספוד בהן ישראל אלא אם כן באו ממקום קרוב. עשו לו ארון וחפרו לו קבר יקבר בו ישראל ואם בשביל ישראל לא יקבר בו עולמית:
Original: Jerusalem Talmud Shabbat 23:4 on Sefaria, version “The Jerusalem Talmud, edition by Heinrich W. Guggenheimer. Berlin, De Gruyter, 1999-2015” (edition by Heinrich W. Guggenheimer (De Gruyter)), license CC BY. The original is reproduced without changes to its content, only divided into segments. The English translation is a derivative work produced by machine (the Claude model) and is distributed under the license CC BY-SA 4.0.
The vowels (the “With vowels” checkbox) are part of Guggenheimer’s edition of the original, license CC BY 4.0.