It is narrated from Hazrat Sha'bi (may Allah have mercy on him) that if a slave marries and divorces without the permission of his master, his divorce does not take effect.