Man Lā Yaḥḍuruh al-Faqīh

Hadith 718
inheritance
5678 - وَ رُوِيَ عَنْ عَبْدِ اَلْحَمِيدِ عَنْ أَبِي عَبْدِ اَللَّهِ عَلَيْهِ اَلسَّلاَمُ قَالَ : سَأَلْتُهُ عَنْ رَجُلٍ كَانَتْ لَهُ جَارِيَةٌ يَطَؤُهَا وَ كَانَتْ تَخْرُجُ فِي حَوَائِجِهِ فَحَمَلَتْ فَخَشِيَ أَنْ لاَ يَكُونَ اَلْحَمْلُ مِنْهُ كَيْفَ يَصْنَعُ أَ يَبِيعُ اَلْجَارِيَةَ وَ اَلْوَلَدَ فَقَالَ "يَبِيعُ اَلْجَارِيَةَ وَ لاَ يَبِيعُ اَلْوَلَدَ وَ لاَ يُوَرِّثُهُ شَيْئاً مِنْ مَالِهِ".
Hadith.5678 - It was narrated from Abdul Hamid, from Abu Abdullah (as), who said: I asked Imam (as) about a man who had a maid with whom he had intimate relations, and she would go out to fulfill his needs. She became pregnant, and he feared that the pregnancy might not be from him. What should he do? Should he sell the maid and the child? Imam (as) replied: "He may sell the maid, but he must not sell the child, nor should he give the child any share of his wealth through inheritance."
Source: Shaykh Muḥammad b. ʿAlī al-Ṣaduq