From Sahih Bukhari (Hadith 5348): Narrated Abu Huraira:The Prophet (ﷺ) forbade taking the earnings of a slave girl by prostitution