Sahih Bukhari | Volume 7 | Hadith Number 235

Narrated by Ibn 'Umar
The Prophet made a man and his wife carry out Lian, and the husband repudiated her child. So the Prophet got them separated (by divorce) and decided that the child belonged to the mother only.