Qatadah (may Allah have mercy on him) narrates from Umar (may Allah be pleased with him): "Whoever becomes the owner of a relative within the prohibited degrees (mahram), that relative becomes free."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب العتق / 21417