Sunan Ibn Majah
2525
Sahih+2

It was narrated from Ibn`Umar that the Messenger of Allah (ﷺ) said:“Whoever becomes the master of a Mahram relative, he becomes free.”

SahihAl-Albani
SahihMuhammad Fouad Abd al-Baqi