One who says that they should not bury him from his assets – we do not listen to him, for it is not within his power to leave to his heirs and cast the expenses of his burial upon the community. Rather, we extract from the heirs all his burial needs against their will. And likewise, everything that is customary to do for members of his family – we extract from them, even the stone placed upon the grave, and likewise other expenses according to the custom of that place. And specifically when they inherited money or the equivalent of money. But when they inherited nothing – the expenses are not incumbent upon them but rather upon the community. And there is one who says that this is when he commanded not to bury him from his assets. But when he did not command, if the son is wealthy or other relatives are wealthy – we compel them to give for burial needs even though he left nothing (Be'er Heitev in the name of the Knesset HaGedolah). And in my humble opinion, even when he commanded – we extract from them, for his statement neither adds nor subtracts. And only that they should not take a large amount of burial money from the heir, even if the heir is wealthy, if he did not leave assets. And likewise, the husband is obligated in the burial of his wife, according to his honor and her honor. And see Choshen Mishpat siman 253.
האומר שלא יקברוהו מנכסיו – אין שומעין לו, דלאו כל הימנו שיניח ליורשיו, ולהטיל הוצאות קבורתו על הציבור. אלא מוציאין מיורשין כל צרכי קבורתו בעל כרחם. וכן כל מה שרגילין לעשות לבני משפחתו – מוציאין מהם, ואפילו האבן שנותנין על הקבר, וכן שארי הוצאות כפי מנהג אותו מקום. ודווקא כשירשו כסף או שוה כסף. אבל כשלא ירשו כלום – אין ההוצאות מוטל עליהם אלא על הציבור. ויש מי שאומר דזהו כשצוה שלא לקוברו מנכסיו. אבל בשלא צוה, אם הבן עשיר או שארי קרובים עשירים – כופין אותם ליתן לצרכי קבורה אף שלא הניח כלום (באר היטב בשם בה"י). ולעניות דעתי גם כשצוה – מוציאין מהם, דאמירתו לא מעלה ולא מוריד. ורק שלא יקחו הרבה מעות קבורה מהיורש, אפילו היורש עשיר, אם הוא לא הניח . וכן הבעל חייב בקבורת אשתו, לפי כבודו וכבודה. ועיין בחושן משפט סימן רנ"ג.