Amir (may Allah have mercy on him) said: If a person pronounces a divorce or frees a slave in his sleep, it has no standing.