It was narrated from Ibn`Umar that the Messenger of Allah (ﷺ) said:
"Whoever becomes the master of a Mahram relative, he becomes free." (JA)
English reference (JA): Vol. 3, Book 19, Hadith 2525 (JA)
Arabic reference (JA): Book 19, Hadith 2621 (JA)