Sayyiduna Ibn Abbas (may Allah be pleased with them both) said: Marrying a free woman while having a slave wife is a divorce of the slave woman.