The Messenger of Allah ﷺ said, "A woman inherits from three sources, the freed slave she emancipated, the foundling she took in, and the child she disowned through liaan."This is a hasan ghareeb hadith, known only through this route from the narration of Muhammad bin Harb.
حدثنا هارون أبو موسى المستملي البغدادي حدثنا محمد بن حرب حدثنا عمر بن رؤبة التغلبي عن عبد الواحد بن عبد الله بن بسر النصري
قال رسول الله ﷺ المرأة تحوز ثلاثة مواريث عتيقها ولقيطها وولدها الذي لاعنت عليه هذا حديث حسن غريب لا يعرف إلا من هذا الوجه من حديث محمد بن حرب
[Its chain of transmission is daif]. Abu Dawud recorded it in the Book of Inheritance, chapter on the inheritance of the child of the woman denounced by her husband (li'an), no. 2906, and Ibn Majah, no. 2742, from the hadith of Umar bin Ruba transmitted through him. The hadith of Umar bin Ruba from Abdul-Wahid is daif, as I have established in Nayl al-Maqsud.