ח מִי שֶׁהָיָה נָשׂוּי שְׁתֵּי נָשִׁים וּמֵתָה אַחַת מֵהֶם בְּחַיָּיו וְאַחַת אַחַר מוֹתוֹ, וְלוֹ בָּנִים מִשְּׁתֵּיהֶן, אַף עַל פִּי שֶׁלֹּא הִנִּיחַ יוֹתֵר עַל שְׁתֵּי הַכְּתֻבּוֹת, אִם נִשְׁבְּעָה הַשְּׁנִיָּה שְׁבוּעַת אַלְמָנָה קֹדֶם שֶׁתָּמוּת, בָּנֶיהָ קוֹדְמִים לִירֻשַּׁת כְּתֻבָּתָהּ, מִפְּנֵי שֶׁאֵינָם יוֹרְשִׁים כְּתֻבַּת אִמָּם בִּתְנַאי זֶה, אֶלָּא יְרֻשָּׁה שֶׁל תּוֹרָה, וְאַחַר כָּךְ יוֹרְשִׁים בְּנֵי הָרִאשׁוֹנָה כְּתֻבַּת אִמָּם בִּתְנַאי זֶה; וְאִם נִשְׁאַר שָׁם כְּלוּם, חוֹלְקִין אוֹתוֹ בְּשָׁוֶה. וְאִם מֵתָה קֹדֶם שֶׁתִּשָּׁבַע, בְּנֵי הָרִאשׁוֹנָה יוֹרְשִׁים כְּתֻבַּת אִמָּם בִּלְבַד, וְהַשְּׁאָר חוֹלְקִין בְּשָׁוֶה. וְכָל שֶׁכֵּן אִם מֵתוּ שְׁתֵּיהֶן אַחַר מוֹתוֹ, שֶׁבְּנֵי כָּל אַחַת נוֹטְלִים כְּתֻבַּת אִמָּם אֲפִלּוּ אֵין שָׁם מוֹתָר, שֶׁהֲרֵי בָּאִים בְּתוֹרַת חוֹב. וְכֵן אִם גֵּרַשׁ אַחַת, וּמֵתָה אַחַת בְּחַיָּיו, וְאַחַר כָּךְ מֵת וְהִנִּיחַ בָּנִים מִשְּׁתֵּיהֶן, בְּנֵי הַמֵּתָה נוֹטְלִין כְּתֻבַּת בְּנִין דִּכְרִין אֲפִלּוּ אֵין שָׁם מוֹתָר דִּינָר, דִּכְתֻבַּת הַגְּרוּשָׁה שֶׁהוּא חוֹב נַעֲשֵׂית מוֹתָר לַחֲבֶרְתָּהּ. לְפִיכָךְ בְּנֵי הַגְּרוּשָׁה נוֹטְלִים תְּחִלָּה, וְאַחַר כָּךְ בְּנֵי הַמֵּתָה:
8 One who married two women and one of them died while he was alive and the other after he died. If he had children with both of them, even though he did not leave more than two ketubot, if the second wife swore a widow's oath before she died, her children come first in inheriting her ketubah because they do not inherit her under this condition, rather they inherit from the Torah. Afterwards, the first [wife's] children inherit their mother's ketubah under this condition. If anything is leftover, they split it equally. If she died before swearing [the oath], the first [wife's] children only inherit their mother's ketubah and the rest is split equally. Definitely if they both died after his death, each one's children take their mothers' ketubah even if there will be nothing leftover since they are coming with a Torah [level] obligation. So too if one [wife] was divorced and one dies while he is alive and the other dies afterwards and he had children from both of them. The children of the dead [wife] take from the ketubah which comes from the right of the son's to inherit, even if there won't be a dinar [a coin] left over, since the obligation of a divorcee's ketubah is made supplemental to the other [ ketubah ]. Therefore, the children of the divorcee take first and afterwards the children of the dead.