Kesuvos6: 2
הַפּוֹסֵק מָעוֹת לַחֲתָנוֹ, וּמֵת חֲתָנוֹ — אָמְרוּ חֲכָמִים: יָכוֹל הוּא שֶׁיֹּאמַר: ,,לְאָחִיךָ הָיִיתִי רוֹצֶה לִתֵּן, וּלְךָ אִי אֶפְשִׁי לִתֵּן”.
[If] one agrees to give money to his son-in-law, and his son-in-law dies —- the Sages said: He can say: “To your brother I wanted to give, but to you I do not want to give.”