Gitin4: 9
הַמּוֹכֵר אֶת עַצְמוֹ וְאֶת בָּנָיו לְגּוֹי — אֵין פּוֹדִין אוֹתוֹ, אֲבָל פּוֹדִין אֶת הַבָּנִים לְאַחַר מִיתַת אֲבִיהֶן.  הַמּוֹכֵר אֶת שָׂדֵהוּ לְגוֹי — לוֹקֵחַ וּמֵבִיא מִמֶּנּוּ בִכּוּרִים, מִפְּנֵי תִקּוּן הָעוֹלָם.
[If] one sells himself and his children to a gentile, he is not to be redeemed, but the children are to be redeemed after the death of their father.  One who sells his field to a gentile must buy and bring first-fruits from it, for the sake of the general good.