2,176. Status Following the Mother

Hilchos Issurei Biah 15:4

The general rule is that when a baby is born from a male servant, a male non-Jew, a female servant or a female non-Jew, the child has the same status as its mother; the father’s status is irrelevant. Because of this, the Sages allowed a mamzer to marry a female servant, which would remove the defect of being a mamzer from his offspring. Specifically, he can free them and they will be regular freemen. They didn’t prohibit a mamzer from marrying a servant woman so that he should be able to rectify his children.

Hilchos Issurei Biah 15:5

If a man who is half servant and half free is sexually intimate with a married woman, there is no way to rectify their offspring. A son of that union can’t marry in a way that would remove the mamzerus because he includes both mamzer and non-mamzer aspects within him. He is prohibited to engage in intimacy with a servant woman so his descendants will inherit his status forever.