I've found the following fatwa which shows rulings for the punishment of rape:
I have a question about the following section:
A woman’s claim to have been forced into zina can only be accepted on the basis of proof or strong circumstantial evidence. If there is no such evidence, then the hadd punishment is to be carried out on her as it is carried out on the zaani (the man who committed fornication or adultery).
So it seems that the woman in this case would get punished instead of the man being accused, so the punishment would probably be:
The punishment is one hundred lashes if the man was a virgin and stoning if he was previously married
My question is, what if the woman (who accuses a man) was suffering from some mental disorder such a paranoia/schizophrenia and was convinced that she was raped (even though she wasn't in reality)? Clearly in this case she would never be able to provide any evidence (as the rape only happened in her mind, not in reality).
What would happen if basically no one knew about her paranoia/schizophrenia (where even she doesn't realize that she has a mental disorder)? It sounds as if in such a case, a mentally ill person would get wiped/stoned!!! Is that true? Or would efforts be made before stoning/wiping her to find out if she was sane before resorting to stoning/wiping?
I'm looking for Sunni > Hanafi > Deobandi views if possible.