How to Control Sexual Desire in Islam
Question

I am a young married girl of twenty-one, my desires rule over me and leave me restless, confused, frustrated and resentful. Tell me how to get rid of sexual desires in Islam?
Praise be to Allah.Sexual desire is something that has been created in mankind and it cannot be got rid of . Getting rid of it is not something that is required of the Muslim; rather what is required of him is to refrain from using it in forbidden ways, and to use it in the ways that Allah has permitted. 
The problem of sexual desire in a young woman may be solved by taking two steps. 
1.      The first step is to reduce and weaken the things that may provoke desire in a person. This may be achieved in a number of ways, including the following: 
·         Lowering the gaze and refraining from looking at that which Allah has forbidden. Allah says (interpretation of the meaning): 
“And tell the believing women to lower their gaze (from looking at forbidden things), and protect their private parts (from illegal sexual acts).” [An-Nur 24:31]
The Prophet (peace and blessings of Allah be upon him) said: “Do not follow one glance with another, for the first [unintentional one] is pardoned but not the second.” There are many sources of prohibited looking, such as looking directly at young men and thinking about their attractive looks, or looking at pictures in magazines and movies. 
·         Avoiding reading stories and novels which focus on the sexual aspect , and avoiding reading internet websites which deal with such topics. 
·         Keeping away from bad company. 
·         Avoiding thinking about desire as much as possible. Thinking in and of itself is not prohibited, but if one thinks about it for too long, that may lead a person to prohibited actions. 
·         Spending one's time in useful pursuits, because spare time may lead one to fall into prohibited things. 
·         Avoiding as much as possible going to public places where young men and women mix . 
·         If a girl is tested with studying in a mixed environment , and cannot find any alternative, she has to remain modest, serious and dignified, and should avoid sitting with young men and speaking to them as much as possible. She should restrict her relationships to friendships with righteous female classmates. 
2.                  The second step is to strengthen the factors that will prevent one acting in accordance with one’s desires. This is achieved in a number of ways, including the following: 
·         Strengthening the faith in one’s heart and strengthening one’s relationship with Allah. This may be achieved by remembering Allah a great deal, reading the Quran, thinking of the Names and Attributes of Allah, and doing a lot of Sunnah prayers. Belief strengthens the heart and soul, and it helps one to resist temptation. 
·         Fasting , as taught by the Prophet (peace and blessings of Allah be upon him) when he said: “O young men, whoever among you can afford to, let him get married, for it is more effective in lowering the gaze and in guarding one’s chastity. Whoever cannot afford it, then let him fast, for it will be a shield for him.” This is addressed to young men, but it also includes young women. 
·         Strengthening one’s resolve and willpower, for this will make a young woman able to resist and control her desires. 
·         Remembering what Allah has prepared for righteous young women. Allah says (interpretation of the meaning): 
“Verily, the Muslims (those who submit to Allah in Islam) men and women, the believers men and women (who believe in Islamic Monotheism), the men and the women who are obedient (to Allah), the men and women who are truthful (in their speech and deeds), the men and the women who are patient (in performing all the duties which Allah has ordered and in abstaining from all that Allah has forbidden), the men and the women who are humble (before their Lord Allah), the men and the women who give Sadaqat (i.e. Zakah and alms), the men and the women who observe Sawm (fast) (the obligatory fasting during the month of Ramadan, and the optional Nawafil fasting), the men and the women who guard their chastity (from illegal sexual acts) and the men and the women who remember Allah much with their hearts and tongues. Allah has prepared for them forgiveness and a great reward (i.e. Paradise).” [Al-Ahzab 33:35]
·         Thinking about the lives of righteous women who guarded their chastity, such as Maryam, whom Allah praises in the Quran (interpretation of the meaning): 
“And Maryam (Mary), the daughter of ‘Imran who guarded her chastity. And We breathed into (the sleeve of her shirt or her garment) through Our Ruh [i.e. Gabriel], and she testified to the truth of the Words of her Lord [i.e. believed in the Words of Allah: “Be!” and he was; that is `Isa (Jesus), son of Maryam (Mary) as a Messenger of Allah], and (also believed in) His Scriptures, and she was of the Qanitun (i.e. obedient to Allah).” [At-Tahrim 66:12]
And thinking about the immoral, fallen women, and comparing between the two types, for there is a huge difference between them. 
·         Choosing righteous companions and spending time with them, so that they can help one another to obey and worship Allah. 
·         Comparing the effects of immediate fulfillment of desire when a girl responds to prohibited, which is followed by loss of pleasure and all that is left is regret and sorrow, with patience and striving against one’s whims and desires, and realising that the pleasure of conquering one’s whim and desires is far greater than the pleasures of enjoying prohibited things. 
·         Seeking help by calling upon Allah and asking Him for help. The Quran tells us the lesson to be learned from the story of Yusuf (peace be upon him): 
“He said: ‘O my Lord! Prison is dearer to me than that to which they invite me. Unless You turn away their plot from me, I will feel inclined towards them and be one (of those who commit sin and deserve blame or those who do deeds) of the ignorant’
 So his Lord answered his invocation and turned away from him their plot. Verily, He is the All-Hearer, the All-Knower.” [Yusuf 12:33 – interpretation of the meaning]
And Allah knows best.