The mishnah in states: “A mamzer [born of certain forbidden unions] and a netin [descendant of Gibeonites] are forbidden to marry into the congregation of Israel—and they are also forbidden to perform levirate marriage [yibbum] or halitzah.”