Narrated Tariq ibn AbdurRahman al-Qarash: Rafi' ibn Rifa'ah came to a meeting of the Ansar and said: The Prophet (ﷺ) of Allah (ﷺ) forbade us (from some things) today, and he mentioned some things. He forbade the earning of a slave-girl except what she earned with her hand. He indicated (some things) with his fingers such as baking, spinning, and ginning.
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا هَارُونُ بْنُ عَبْدِ اللَّهِ، حَدَّثَنَا هَاشِمُ بْنُ الْقَاسِمِ، حَدَّثَنَا عِكْرِمَةُ، حَدَّثَنِي طَارِقُ بْنُ عَبْدِ الرَّحْمَنِ الْقُرَشِيُّ، قَالَ جَاءَ رَافِعُ بْنُ رِفَاعَةَ إِلَى مَجْلِسِ الأَنْصَارِ فَقَالَ لَقَدْ نَهَانَا نَبِيُّ اللَّهِ صلى الله عليه وسلم الْيَوْمَ فَذَكَرَ أَشْيَاءَ وَنَهَانَا عَنْ كَسْبِ الأَمَةِ إِلاَّ مَا عَمِلَتْ بِيَدِهَا . وَقَالَ هَكَذَا بِأَصَابِعِهِ نَحْوَ الْخَبْزِ وَالْغَزْلِ وَالنَّفْشِ .
sunnah.com