[Machine] I asked 'Ata who was a free man and had married a slave woman, and she became pregnant from him. So I freed her and her child was still in her womb. To whom does the child belong?' He said, 'The one who emancipated him, but his inheritance belongs to his father.' And this is because a relative takes precedence over a master in inheritance.
قُلْتُ لِعَطَاءٍ حُرٌّ تَزَوَّجَ أَمَةً لِي فَحَمَلَتْ مِنْهُ فَأَعْتَقْتُ وَلَدَهَا فِي بَطْنِهَا لِمَنْ وَلَاؤُهُ؟ قَالَ لِلَّذِي أَعْتَقَهُ لَكِنَّ مِيرَاثَهُ لِأَبِيهِ وَهَذَا لِأَنَّ النَّسِيبَ يَتَقَدَّمُ الْمَوْلَى فِي الْمِيرَاثِ