(17) باب مِيرَاثِ الْمُلاَعَنَةِ
Narrated Ibn `Umar:
A man and his wife had a case of Lian (or Mula'ana) during the lifetime of the Prophet (ﷺ) and the man denied the paternity of her child. The Prophet (ﷺ) gave his verdict for their separation (divorce) and then the child was regarded as belonging to the wife only.
Reference: Sahih al-Bukhari 6748
In-book reference: Book 85, Hadith 25
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 80, Hadith 740