Abis bin Rabi'ah narrates from Sayyiduna Ali (may Allah be pleased with him) that every divorce is valid except the divorce of the mentally deranged (ma'tuh).