Peah3: 8
הַכּוֹתֵב נְכָסָיו לְעַבְדּוֹ — יָצָא בֶן חוֹרִין. שִׁיֵּר קַרְקַע כָּל שֶׁהוּא — לֹא יָצָא בֶן חוֹרִין. רַבִּי שִׁמְעוֹן אוֹמֵר: לְעוֹלָם הוּא בֶן חוֹרִין, עַד שֶׁיֹּאמַר: ,,הֲרֵי כָל נְכָסַי נְתוּנִין לְאִישׁ פְּלוֹנִי עַבְדִּי חוּץ מֵאֶחָד מֵרִבּוֹא שֶׁבָּהֶם”.
[If] one writes over his property to his slave, [the slave] goes free. [If the master] retains land of any size, [the slave] does not go free. R' Shimon says: In all cases he goes free, unless [the master] says: “All my property is given to Mr. So-and-so my slave except for one ten-thousandth part thereof.”