Sahih Bukhari | Volume 3 | Hadith Number 483

Narrated by Abu Huraira
The Prophet prohibited the earnings of slave girls (through prostitution).