This page explains the difference between same-sex attraction and acting on it, and what Islamic guidance says about sexual conduct. It offers compassionate, practical steps for reducing pornography, erotic AI stories and repeated relapse while drawing closer to Allah.
It is genuinely hard to carry this weight, and the fact that you want to be closer to Allah while being honest about your struggle says a lot about your sincerity. You are not alone in this—many people wrestle with desires that feel at odds with their faith, and the guilt you feel is not a sign of being broken; it is a sign that your heart is alive to what matters to you.
The reason this is haram in Islam is not because desire itself is dirty, but because the boundaries Allah set are there to protect you—your dignity, your relationships, and your peace of mind. Acting on same-sex attraction is prohibited in the Quran and hadith, just as acting on any sexual desire outside marriage is. But the desire itself, the feeling, is not a sin—it is a test. The sin is in the action, and even then, Allah's mercy is vast and He forgives those who turn back to Him, no matter how many times they slip. The loop you describe—watching videos, making AI stories, feeling guilty, then repeating—is not a sign of weakness; it is a cycle that feeds on shame, and shame alone will not break it.
The first step is to stop fighting the feeling and start understanding it. The videos and AI stories are not the root problem; they are a coping mechanism for something deeper—loneliness, stress, boredom, or a need for connection. Ask yourself: what are you really seeking in that moment? If it is relief from tension, find another way to release it—go for a walk, do push-ups, pray two rakat, or call a friend. If it is a need for affection, that is a human need, and you can meet it in halal ways—spend time with family, hug a sibling, or serve someone in need. The urge will pass if you let it, like a wave, instead of fighting it or feeding it.
Second, change the environment that feeds the loop. Put the phone in another room at night, install a content filter if you need to, and delete the apps or bookmarks that lead you to those videos. For the AI stories, recognise that they are a fantasy—they are not real, and they are not satisfying the part of you that longs for closeness to Allah or to another person. Replace that time with something that builds you up: read Quran with translation, listen to a lecture, or learn something new. The goal is not to become perfect overnight; it is to shorten the time between the urge and the choice to turn away.
When you slip, do not let Shaytan convince you that you are beyond forgiveness. The Prophet (peace be upon him) said that Allah is more pleased with the repentance of His servant than a man who finds his lost camel in the desert. So after every mistake, pray two rakat of tawbah, say *astaghfirullah* sincerely, and move on. Do not wallow in guilt—that guilt is a gift if it pushes you back to Allah, but it becomes a trap if it makes you give up. And do not isolate yourself. Shame grows in the dark, so tell someone you trust—a close friend, a scholar, or a counsellor—what you are struggling with. You do not need to announce it publicly; just one person who will listen without judging.
You asked why it is haram, and the honest answer is that we obey Allah because He is our Creator and He knows what is best for us, even when we do not understand it. But you can also trust that the struggle itself is a form of worship—every time you resist for His sake, you earn reward. So do not hate yourself for having the feeling; hate the action, and love yourself enough to keep trying. The fact that you are asking this question means your heart is not lost. Keep turning back, and know that Allah's mercy is bigger than any sin, and bigger than this loop. Zara is here to talk whenever you need a listening ear, and you can also find more tools and support in our community at depression.pk.
Names and cities shown here are examples. Every question is published anonymously — we never ask for, store or show the name, city or contact details of the person who wrote it.
You don't have to work this out from an article. We're free, private, and here right now — in English, Urdu or Roman Urdu. No signup, no waiting, no judgement.
Other questions people asked about the same thing, answered the same way.