[Machine] If a woman were to free a male or female slave, and she were to leave behind a male child, then the ownership of that slave would belong to her child, regardless of whether they were male or female. However, if there were no male heirs, then the ownership would return to the woman's guardians. Shurayh said, "The ownership is passed down just like inheritance, but ownership cannot be inherited by a female, except for what she has freed."
إِذَا أَعْتَقَتِ الْمَرْأَةُ عَبْدًا أَوْ أَمَةً فَهَلَكَتْ وَتَرَكَتْ وَلَدًا ذَكَرًا فَوَلَاءُ ذَلِكَ الْمَوْلَى لِوَلَدِهَا مَا كَانُوا ذُكُورًا فَإِذَا انْقَطَعَتِ الذُّكُورُ رَجَعَ الْوَلَاءُ إِلَى أَوْلِيَائِهَا وَقَالَ شُرَيْحٌ يَمْضِي الْوَلَاءُ عَلَى وَجْهِهِ كَمَا يَمْضِي الْمِيرَاثُ وَلَكِنْ لَا يُورَّثُ الْوَلَاءَ أُنْثَى إِلَّا شَيْئًا أَعْتَقَتْهُ