משנה: הַכּוֹתֵב לְאִשְׁתּוֹ דִּין וּדְבָרִים אֵין לִי בִנְכָסַיִיךְ הֲרֵי זֶה אוֹכֵל פֵּירוֹת וְאִם מֵתָה יוֹרְשָׁהּ. אִם כֵּן לָמָּה כָתַב לָהּ דִּין וּדְבָרִים אֵין לִי בִנְכָסַיִיךְ שֶׁאִם מָכְרָה וְנָתְנָה קַיָים. כָּתַב לָהּ דִּין וּדְבָרִים אֵין לִי עָלַיִיךְ וּבְפֵירוֹתֵיהֶן הֲרֵי זֶה אֵינוֹ אוֹכֵל פֵּירוֹת בְּחַיֶּיהָ וְאִם מֵתָה יוֹרְשָׁהּ. רִבִּי יְהוּדָה אוֹמֵר לְעוֹלָם הוּא אוֹכֵל פֵּירֵי פֵירוֹת עַד שֶׁיִּכְתּוֹב לָהּ דִּין וּדְבָרִים אֵין לִי בִנְכָסַיִיךְ וּבְפֵירוֹתֵיהֶן וּבְפֵירֵי פֵירוֹתֵיהֶן עַד עוֹלָם. כָּתַב לָהּ דִּין וּדְבָרִים אֵין לִי בִנְכָסַיִיךְ וּבְפֵירוֹתֵיהֶן וּבְפֵירֵי פֵירוֹתֵיהֶן בְּחַיַּיִךְ וּבְמוֹתֵךְ אֵינוֹ אוֹכֵל פֵּירוֹת בְּחַיֶּיהָ וְאִם מֵתָה אֵינוֹ יוֹרְשָׁהּ. רַבָּן שִׁמְעוֹן בֶּן גַּמְלִיאֵל אוֹמֵר מֵתָה יוֹרְשָׁהּ מִפְּנֵי שֶׁהִתְנָה עַל מַה שֶׁכָּתוּב בַּתּוֹרָה וְכָל הַמַּתְנֶה עַל מַה שֶׁכָּתוּב בַּתּוֹרָה תְּנָאוֹ בָטֵל.
MISHNAH: If somebody writes to his wife: “I shall have nothing to do with your properties,” he receives their revenues and if she should die, he inherits from her. In this case, why did he write “I shall have nothing to do with your properties”? If she sold or gave away, it is valid. If he wrote to her: “I shall have nothing to do with your properties, nor with their revenues,” he does not receive their revenues during her lifetime but if she should die, he inherits from her. Rebbi Jehudah says, he continues to receive the investment results of her revenues unless he writes: “I shall have nothing to do with your properties, nor with their revenues, nor with revenues derived from revenues, without limits.” If he wrote “I shall have nothing to do with your properties, nor with their revenues, nor with revenues derived from revenues during your lifetime and after your death,” he does not receive the revenues during her lifetime and does not inherit from her after her death. Rabban Simeon ben Gamliel says, if she dies, he should inherit from her since he made a condition contradicting what is written in the Torah, and anybody’s condition contradicting what is written in the Torah is invalid.