Ruling on Men Imitating Women
Question

There is a man who is religiously committed and regularly offers Nafl prayers, and he fears Allah as much as he can. But since he was small he has had the sickness of fulfilling his desire by imitating women and wearing their clothes. Is there any sin on him? 
When he became religiously committed he gave up actually doing this thing, but he is left with thoughts of being dominated by women and imitating them, which sometimes leads to emission of maniy or madhiy. Is there any sin on him? 
Is persisting in thinking only without emitting anything a sin? If the solution is to get married, should he tell his wife? Or can he dress up as woman with her if she agrees? 
Hope that you will answer in detail, because he has repented from this sin many times, but then he was overcome by this desire and he still fulfils his desire in this way. Please advise us, for by Allah I fear for my religious commitment.
Praise be to Allah.Ruling on men imitating women
Islam forbids men to imitate women and women to imitate men , and in fact it emphatically forbids that, to such an extent that the Prophet (peace and blessings of Allah be upon him) cursed those who go against the human nature with which Allah created them. 
It was narrated from Ibn `Abbas (may Allah be pleased with him) that the Prophet (peace and blessings of Allah be upon him) cursed men who imitate women and women who imitate men, and he said: “Throw them out of your houses.” (Narrated by Al-Bukhari, 5885) 
Undoubtedly one of the most obvious signs of an effeminate man is that he wears women’s clothing and imitates their ways. 
It was narrated that Abu Hurayrah (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings of Allah be upon him) cursed the man who wears women’s clothing and the woman who wears men’s clothing. (Narrated by Abu Dawud, 4098 and classed as authentic by An-Nawawi in Al-Majmu`, 4/469 and by Al-Albani in Sahih Abu Dawud) 
`Aishah (may Allah be pleased with her) said: The Messenger of Allah (peace and blessings of Allah be upon him) cursed masculinized women. “Narrated by Abu Dawud, 4099; classed as good by An-Nawawi in Al-Majmu`, 4/469 and as authentic by Al-Albani in Sahih Abu Dawud) 
Al-Munawi (may Allah have mercy on him) said:  
“As An-Nawawi said, this indicates that it is prohibited for men to imitate women and vice versa, because if it is prohibited with regard to clothing then imitating them in one’s movements and tone of voice is even more abhorrent. So it is prohibited for men to imitate women and vice versa with regard to clothing that is unique to one’s sex, and the one who does that is subject to the threat of being cursed.” (Fayd Al-Qadir, 5/343) 
Once this is established, we will know that the Islamic ruling on this kind of sexual perversion is that it is prohibited, and it is a major sin. So it is not permissible to do that whether alone or with one’s wife, because going against the sound human nature (Fitrah) that Allah has created in us can only result in corruption and evil. Allah has created man with masculine qualities that cannot go with wearing women’s clothing or imitating women’s mannerisms. 
Undoubtedly the one who seeks to be effeminate and derives pleasure from that and thinks that it fulfils his desire is sick with a disease that the doctors describe as a “fetish”. They have behavioural programs to treat such cases that are presented to them, so anyone who is faced with this problem should not hesitate to go to a psychologist to supervise his treatment for this sickness. 
Remedy to issue of men imitating women
All we can do is remind him of Allah and make his religious commitment a positive and effective factor in ridding him of this Waswas . He should remember the wrath of Allah towards effeminate men, and he should remember that He can see everything they do, and that this life is a few short days that will quickly cease to be, and a man will be left with his deeds in the Hereafter. 
We remind him to seek the help of Allah, for He is the best of helpers and the best One to ask for help. If a person is sincere in his du’a’ and seeking help and turning to Him, Allah will answer his prayer and relieve him of his problem. But part of praying sincerely is sincerely applying the means and striving hard and being patient until full healing comes and he gives up these evil haram practices. And for his efforts and patience he will be rewarded by Allah, may He be glorified and exalted. 
The best thing that will help him to give up this inclination is marriage, because it opens the door to satisfying sexual desires in good and permissible ways. Whilst he is waiting for that, he should distract himself from desires by filling his time with acts of worship and beneficial habits, and he should try to fast, because it is very helpful in controlling desires. The Prophet (peace and blessings of Allah be upon him) said concerning it: “Whoever cannot afford (to get married) should fast, for it will diminish his desire.” (Narrated by Al-Bukhari, 1905 and Muslim, 1400) 
One of the most important things that will help him is: respecting the sacred limits set by Allah, by refraining from looking at people’s `Awrahs and refraining from thinking of desires, because looking at prohibited things is the basis of every calamity, and that is what leads one to these bad, perverted habits that he sees among some perverts.  
Ibn Al-Qayyim (may Allah have mercy on him) said:  
“Looking generates thoughts, then thoughts generate ideas, then ideas generate desire, then desires generate will, then the will grows strong and resolves to do the deed, and then the deed will inevitably take place unless there is something to prevent it. Concerning this it was said that patience in lowering the gaze is easier than patience in bearing the pain that comes afterwards.” (Al-Jawab Al-Kafi, p. 106) 
It should be noted that thinking about such perversions will inevitably lead to doing them, so it is essential to divert oneself from such thinking, and to distract oneself with permissible kinds of pleasure with one’s wife. He should not try to connect fulfilment of desire with those bad practices. That is the whispers of the Shaytan.
Undoubtedly the best kind of pleasure is that which is achieved in accordance with the sound human nature with which Allah has created people. 
We ask Allah to guide you to the straight path. 
And Allah knows best.