MISHNA: One who writes to his wife, “I have no claim or dispute regarding your property”—he eats the produce, and if she dies, he inherits her. If so, why did he write to her, “I have no claim or dispute regarding your property”? So that if she sold or gave it away, it is valid. If he wrote to her, “I have no claim or dispute regarding you and their produce,” he does not eat the produce during her lifetime, and if she dies, he inherits her. Rabbi Yehuda says: He always eats the produce of the produce, until he writes to her: “I have no claim or dispute regarding your property, and their produce, and the produce of their produce, forever.” If he wrote to her: “I have no claim or dispute regarding your property, and their produce, and the produce of their produce, in your life and in your death,” he does not eat the produce during her lifetime, and if she dies, he does not inherit her. Rabban Shimon ben Gamliel says: If she dies, he inherits her, because he stipulated against what is written in the Torah, and whoever stipulates against what is written in the Torah, his stipulation is void.
משנה: הכותב לאשתו דין ודברים אין לי בנכסייך הרי זה אוכל פירות ואם מתה יורשה. אם כן למה כתב לה דין ודברים אין לי בנכסייך שאם מכרה ונתנה קיים. כתב לה דין ודברים אין לי עלייך ובפירותיהן הרי זה אינו אוכל פירות בחייה ואם מתה יורשה. רבי יהודה אומר לעולם הוא אוכל פירי פירות עד שיכתוב לה דין ודברים אין לי בנכסייך ובפירותיהן ובפירי פירותיהן עד עולם. כתב לה דין ודברים אין לי בנכסייך ובפירותיהן ובפירי פירותיהן בחייך ובמותך אינו אוכל פירות בחייה ואם מתה אינו יורשה. רבן שמעון בן גמליאל אומר מתה יורשה מפני שהתנה על מה שכתוב בתורה וכל המתנה על מה שכתוב בתורה תנאו בטל.