Sunan Ibn Majah
2524
Sahih+3

It was narrated from Samurah bin Jundub that the Prophet (ﷺ) said:“Whoever becomes the master of a Mahram relative (with whom marriage is not lawful), he becomes free.”

SahihAl-Albani
SahihMuhammad Fouad Abd al-Baqi