[Machine] I came to the Messenger of Allah ﷺ and said, "Verily, my father Zama'ah has died, leaving behind a mother and a child. We used to think that she was with a man, but she had given birth and her child resembles the man we thought she was with." The Messenger ﷺ said to her, "As for you, maintain your veiling from him, for he is not your brother and does not have any inheritance rights."
أَتَيْتُ رَسُولَ اللهِ ﷺ فَقُلْتُ إِنَّ أَبِي زَمْعَةَ مَاتَ وَتَرَكَ أُمَّ وَلَدٍ لَهُ وَإِنَّا كُنَّا نَظُنُّهَا بِرَجُلٍ وَإِنَّهَا وَلَدَتْ فَخَرَجَ وَلَدُهَا يُشْبِهُ الرَّجُلَ الَّذِي ظَنَنَّاهَا بِهِ قَالَ فَقَالَ ﷺ لَهَا أَمَّا أَنْتِ فَاحْتَجِبِي مِنْهُ فَلَيْسَ بِأَخِيكِ وَلَهُ الْمِيرَاثُ