Abu Dawud Book 12, Hadith Number 2902.
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 N/A : ‘Amr b. Shu’aib on his father’s authority, said that his grandfather reported from the Prophet (PBUH) something similar.