The Talmud
סנהדרין דף ל״הSanhedrin 35b
Amud b of Sanhedrin 35 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Sanhedrin 35b · סנהדרין ל״ה ב
ושמע שמת לו מת יכול יטמא אמרת לא יטמא
— and he heard that one of his dead had died. Might he defile himself? You have said: he does not defile himself.
יכול כשם שאינו מטמא לאחותו כך אינו מטמא למת מצוה ת"ל ולאחותו לאחותו הוא דאינו מטמא אבל מטמא למת מצוה
Might it be that just as he does not defile himself for his sister, so too he does not defile himself for a met mitzvah? The verse states "nor for his sister" — it is for his sister that he does not defile himself, but he does defile himself for a met mitzvah.
שבת שנידחת מפני עבודה אינו דין שתהא קבורת מת מצוה דוחה אותה
The Sabbath, which is overridden by the service — is it not right that the burial of a met mitzvah should override it?
א"ל רציחה תוכיח שדוחה את העבודה ואינה דוחה את השבת
He said to him: execution will prove it, for it overrides the service and does not override the Sabbath.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.