Question
If a temporarily insane woman is intimate after intending to fast while sane?
Answer
Then her fast is invalidated, and she must make it up, as mentioned in Khulasat al-Fatawa 1: 253, and Bada'i al-Sana'i 2: 91.