There is no iddah (waiting period) for a woman with whom intercourse has not taken place (in the case of divorce), and a slave woman is like a free woman (in iddah)
Allah the Exalted says:
يَا أَيُّهَا الَّذِينَ آمَنُوا إِذَا نَكَحْتُمُ الْمُؤْمِنَاتِ ثُمَّ طَلَّقْتُمُوهُنَّ مِن قَبْلِ أَن تَمَسُّوهُنَّ فَمَا لَكُمْ عَلَيْهِنَّ مِنْ عِدَّةٍ تَعْتَدُّونَهَا [Al-Ahzab: 49]
“O you who believe! When you marry believing women and then divorce them before touching them (that is, before intimacy), you have no right of iddah over them that you may count.”
This is because no sahih (authentic) marfu’ hadith establishes any difference between the two in their iddah. As for the narration reported from Ibn Umar (may Allah be pleased with them both) in which these words occur:
طلاق الأمة تطليقتان و عدتها حيضتان
“The divorce of a slave woman is two divorces and her iddah is two menstrual cycles.” It is da’if (weak).
[Da’if (weak): Irwa al-Ghalil: 2066, Da’if Ibn Majah: 451, Ibn Majah: 2079, Daraqutni: 38/4, Bayhaqi: 369/7. Hafiz Busiri (may Allah have mercy on him) declared this hadith da’if (weak). Misbah al-Zujajah: 139/2. In its chain of narration the narrator Atiyyah al-Awfi is da’if (weak). Al-Majruhin: 171/2, Al-Jarh wa al-Ta’dil: 382/6, Al-Kashif: 235/2, Mizan al-I’tidal: 79/3, Taqrib al-Tahdhib: 24/2]
This hadith, and any hadith with this meaning, is not established as sahih (authentic) in marfu’ form. Therefore, in the generality of the evidences, the free woman and the slave woman are included equally.
(Ibn Hazm, may Allah have mercy on him) holds this view.
[Al-Muhalla: 230/10]
(Amir al-San’ani, may Allah have mercy on him) gives preference to this.
[Subul al-Salam: 1514/3]
(Siddiq Hasan Khan, may Allah have mercy on him) considers this to be the truth.
[Al-Rawdah al-Nadiyyah: 147/2]
However, in a narration reported from Umar (may Allah be pleased with him), he said:
وتعتد الأمة حيضتين
“And a slave woman observes an iddah of two menstrual cycles.”
[Sahih (authentic): Irwa al-Ghalil: 2067, Daraqutni: 419, Musnad al-Shafi’i: 1607, Bayhaqi: 425/7]