It is narrated from Sayyiduna Wathilah bin al-Asqa' (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "A woman receives three inheritances: that of her freed slave, that of her foundling (laqit) whom she took in, and that of the child against whom there is no charge (regarding his lineage)."
Hadith Referenceالمعجم الكبير للطبراني / باب الواو / 18401