Hadith.4572 - Al-Alaa narrated from Muhammad ibn Muslim, from Abu Jafar Imam Muhammad ibn Ali Al-Baqir (as), who said
"Commander of the Faithful (as) ruled in the case of a woman who allowed her slave to have relations with her and married him:
She is to be given one hundred lashes, and the slave is to be given fifty lashes. The slave is then to be sold in a manner that ensures he is distanced from her (bi-sughrin minha).
It is forbidden for any Muslim to sell her a mature slave after that incident."