Malik said that if a slave-girl, who was the wife of a slave, was set free before he had consummated the marriage, and she chose herself, then she had no bride-price and it was a pronouncement of divorce. That was what was done among them.

USC-MSA web (English) reference : Book 29, Hadith 29