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."
English reference: Vol. 3, Book 19, Hadith 2524
Arabic reference: Book 19, Hadith 2620
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.