The Messenger of Allah ﷺ forbade taking the earnings of a slave-woman until it is known where they come from.
حدثنا أحمد بن صالح حدثنا ابن أبي فديك عن عبيد الله يعني ابن هرير عن أبيه عن جده رافع هو
نهى رسول الله ﷺ عن كسب الأمة حتى يعلم من أين هو
No references are available.
[Hasan] Hakim narrated it (2/42) from the hadith of Ahmad bin Salih through this route. The hadith has corroborating narrations, and with them it is hasan.