It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) forbade the earnings of a slave-girl, unless she has regular work or earnings whose source is known.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النفقات / 15784