A bedouin came to the Prophet (ﷺ), and said: My wife has given birth to a black son, and I disown him. He then narrated the rest of the tradition to the same effect.
Sunan Abi Dawud Book 13, Hadith 88