"Zam'ah had a slave woman with whom he used to have intercourse, but he suspected that someone else was also having intercourse with her. She gave birth to a child who resembled the one whom he suspected. Zam'ah died when she was pregnant, and Sawdah mentioned that to the Messenger of Allah. The Messenger of Allah said: 'The child is the bed's, but veil yourself from him, O Sawdah, for he is not a brother of yours.'" (Using translation from Nasāʾī 3485)
أَنَّهُ يَقَعُ عَلَيْهَا فَجَاءَتْ بِوَلَدٍ شَبَهَ الَّذِي كَانَ تُظَنُّ بِهِ فَمَاتَ زَمْعَةُ وَهِيَ حُبْلَى فَذَكَرَتْ ذَلِكَ سَوْدَةُ لِرَسُولِ اللهِ ﷺ فَقَالَ رَسُولُ اللهِ ﷺ «الْوَلَدُ لِلْفِرَاشِ وَاحْتَجِبِي مِنْهُ يَا سَوْدَةُ فَلَيْسَ لَكِ بِأَخٍ»