It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that a slave girl belonging to one of the Ansar came to the Messenger of Allah (peace and blessings be upon him) and said: "My master forces me into prostitution." So Allah Almighty revealed this verse: "And do not force your slave girls into prostitution when they desire chastity."
Hadith Referenceالمعجم الأوسط / باب الميم / 9072
Hadith Takhrij«أخرجه مسلم فى «صحيحه» برقم: 3029، والحاكم فى «المستدرك» برقم: 2857، 3523، والنسائي فى «السنن الكبرى» برقم: 11301، وأبو داود فى «سننه» برقم: 2311، والبيهقي فى «السنن الكبرى» برقم: 15891، 15892، وأبو يعلى فى «مسنده» برقم: 2304، وابن أبي شيبة فى «مصنفه» برقم: 17771»