The Messenger of Allah said: "Every divorce is valid except the divorce of the Ma'tuh person whose reason is overcome." (Da'if Jiddan)
Jami` at-Tirmidhi Book 13, Hadith 18