It is narrated from al-Hasan al-Basri (may Allah have mercy on him) that "the Messenger of Allah (peace and blessings be upon him) forbade that a slave woman be married while a free woman is (already in the man's marriage)."
Imam al-Bayhaqi said that this narration is mursal, but it agrees with the meaning of the Book of Allah, and it is also the view of a group of the Companions. Also, it is narrated from Sayyiduna Ali bin Abi Talib (may Allah be pleased with him): "If you marry a free woman while you have a slave wife, allot two days (in the turn) to the free woman and one day to the slave woman, for it is not proper for a slave woman to be married while a free woman is (already married)." Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) said: "A slave woman is not to be married while a free woman is (already married), but a free woman may be married while there is a slave wife; and whoever can afford the dower of a free woman should never marry a slave woman." Imam al-Bayhaqi declared its chain sahih (authentic). Sayyiduna Abdullah bin Abbas and Sayyiduna Abdullah bin Umar (may Allah be pleased with them) were asked about a man who already has a free woman in his marriage and wishes to marry a slave woman in addition to her, and both of them disliked combining them. Imam al-Hasan al-Basri (may Allah have mercy on him) was asked about a man who married a free woman and a slave woman in a single contract, and he said: "He and the slave woman are to be separated." He also said that if someone already has three wives and marries two more women in a single contract, "he is to be separated from the two whom he married in that (new) contract; and if someone already has two wives and marries three more women in a single contract, he is to be separated from those three."