Sunan Abi Dawud, Book 24, Hadith 10 (Abu Dawud 3426)

Narrated Abu Hurairah:

That the Messenger of Allah (ﷺ) forbade earnings of slave-girls.