Sayyiduna Abdullah bin Umar (may Allah be pleased with them) narrates that the Messenger of Allah (peace and blessings be upon him) said: Whoever becomes the owner of a mahram relative (those with whom marriage is forbidden if one of them is a woman), then that slave is free.
Hadith Referenceالمنتقى ابن الجارود / كتاب الطلاق / 972
Hadith Takhrijاز غلام مصطفےٰ ظهير امن پوري:«إسناده ضعيف : السنن الكبرى للنسائي : 4897، سنن ابن ماجه : 2525، السنن الكبرى للبيهقي : 10/289۔ امام نسائی رحمہ اللہ نے اس حدیث کو منکر کہا ہے۔ سفیان بن سعید ثوری مدلس ہیں، سماع کی تصریح نہیں کی۔»