Abu Dawud Book 12, Hadith Number 2900.

Chapter : Inheritance of a child of a woman about whom she has invoked a curse on herself if she was untrue in declaring he was not born out of wedlock.

Narated By Wathilah ibn al-Asqa’ : The Prophet (PBUH) said: A woman gets inheritance from the three following: one she has set free, a foundling, and her child about whom she has invoked a curse on herself if she was untrue in declaring he was not born out of wedlock.