Ibn Umar (may Allah be pleased with them both) said regarding the slave woman who is married to a slave and her master sets her free: if her husband has not had intercourse with her, then she has a choice; but if he has had intercourse with her, then she has no choice.
Hadith Referenceمسند الإمام الشافعي / كتاب الطلاق / 1263
Hadith Takhrijاسناده صحیح اخرجه البیهقی: 222/7 ، 225 ـ وفي المعرفة السنن والآثار له (4269)۔ ومالك في الموطأ، الطلاق، باب ما جاء في الخيار۔