Yevamos2: 5
מִי שֶׁיֶּשׁ לוֹ אָח מִכָּל מָקוֹם — זוֹקֵק אֶת אֵשֶׁת אָחִיו לְיִבּוּם, וְאָחִיו לְכָל דָּבָר, חוּץ מִמִּי שֶׁיֶּשׁ לוֹ מִן הַשִּׁפְחָה וּמִן הַנָּכְרִית.  מִי שֶׁיֶּשׁ לוֹ בֵּן מִכָּל מָקוֹם — פּוֹטֵר אֵשֶׁת אָבִיו מִן הַיִּבּוּם, וְחַיָּב עַל מַכָּתוֹ וְעַל קִלְלָתוֹ, וּבְנוֹ הוּא לְכָל דָּבָר, חוּץ מִמִּי שֶׁיֶּשׁ לוֹ מִן הַשִּׁפְחָה וּמִן הַנָּכְרִית.
One who has a brother of any kind binds his brother's wife for yibum, and is [considered] his brother in all respects; except for someone who has [a brother] from a slave-woman or a non-Jewess.  One who has a son of any kind releases his father's wife from yibum, is liable for striking or cursing him, and is considered his son in every respect; except for someone who has [a son] from a slave-woman or a non-Jewess.