Are prohibitions against marrying a female slave due to kinship or fosterage defects?

Chapter on Selling the Musarrah (Animal with milk retained in udder)

Al-Mughni

Book of Sales

Book 12 · Issue 9 · Bab 5

Open in Qurani

Primary text

If a female slave is prohibited to the purchaser through lineage or fosterage, this is not a defect, because the prohibition does not relate to any flaw in the essential quality or value of the object itself; the prohibition is external to the property.