Ibrahim al-Nakha'i (may Allah have mercy on him) said: If a slave woman is set free while she is married to a free man or a slave, then she has the right of choice.
Hadith Referenceسنن سعید بن منصور / كتاب الطلاق / 2441
Hadith Takhrij«أخرجه سعيد بن منصور فى «سننه» ترقيم الدرالسلفية برقم:، 1253، 1264، وابن أبى شيبة فى «مصنفه» برقم: 16799»