Hasan al-Basri (may Allah have mercy on him) used to say that a divorce given by a slave without permission is not valid.