Fatwa: # 19827
Category: Character & Morals
Country: Pakistan
Date: 9th March 2012


I am having a lot of bad thoughts, what should I do?


I am having problem of bad thoughts every 5 minutes. I tried my best to stop it but it doesn’t. Sometimes the bad thoughts come about Allah Ta’ālā. I wanted to ask having bad thoughts about Allah does it make a Muslim a disbeliever? What solutions are there to get rid of it?


In the Name of Allah, the Most Gracious, the Most Merciful.

As-salāmu ‘alaykum wa-rahmatullāhi wa-barakātuh.

Thoughts are of two types, voluntary and involuntary. One should not introduce evil thoughts in the mind. This could be done through exposing the mind to things which develop bad thoughts. For example one should be careful of the material one reads or sees. A bad read or an impermissible sight will develop evil thoughts. 

If one experiences involuntary bad thoughts then one should ignore them. This is done by conditioning the mind. Think of a highway, whilst driving one is concerned about the road ahead and does not give any significance to the traffic that surrounds oneself. In the world of thoughts one should “drive” pass these involuntary thoughts and pay attention to the work or occupation that is before oneself. Another example is a livewire, if you ignore the live wire it remains harmless but no sooner you interfere with it then it harms you.

Your problem is not a new one. It is an old plot from the tricks of shaitan. Shaitan wants to distract you by arresting your attention. The Sahabah radiyallāhu ‘anhum once complained to Nabi about thoughts of a similar nature; 

عَنْ أَبِي هُرَيْرَةَ، قَالَ: جَاءَ نَاسٌ مِنْ أَصْحَابِ النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ، فَسَأَلُوهُ: إِنَّا نَجِدُ فِي أَنْفُسِنَا مَا يَتَعَاظَمُ أَحَدُنَا أَنْ يَتَكَلَّمَ بِهِ، قَالَ: وَقَدْ وَجَدْتُمُوهُ؟ قَالُوا: نَعَمْ، قَالَ: ذَاكَ صَرِيحُ الْإِيمَانِ

Abu Hurairah reports, some companions of Nabi came and they said, “Verily we have such thought that which we regard speaking about it to be a heinous act.” Nabi said, “Do you really have such thought?” they replied, “yes” he replied, “That is a clear sign of your belief.”

(Sahih Muslim vol.1 pg.191; Dar Ihya Turath)

From the above Hadith it is understood such thoughts are not abnormal for those who have true faith. A thief looks to commit theft only in places which have some goods of value. Shaitan will launch an attack on the hearts of those who have true Iman.  

When these thoughts come recite Ta’awudh;

أَعُوذُ بِاللَّهِ مِنَ الشَّيْطَانِ الرَّجِيمِ

Also recite;

لَا حول وَلَا قُوَّة إِلَّا بِاللَّه الْعلي الْعَظِيم


And busy yourself with other work to keep your mind preoccupied from these type of thoughts. 

And Allah Ta’āla Knows Best

Mawlana Ali bin Cassim

Student Darul Iftaa

Los Angeles, CA (USA)


Checked and Approved by,
Mufti Ebrahim Desai.


DISCLAIMER - AskImam.org questions
AskImam.org answers issues pertaining to Shar'ah. Thereafter, these questions and answers are placed for public view on www.askimam.org for educational purposes. However, many of these answers are unique to a particular scenario and cannot be taken as a basis to establish a ruling in another situation or another environment. Askimam.org bears no responsibility with regards to these questions being used out of their intended context.
  • The Shar's ruling herein given is based specifically on the question posed and should be read in conjunction with the question.
  • AskImam.org bears no responsibility to any party who may or may not act on this answer and is being hereby exempted from loss or damage howsoever caused.
  • This answer may not be used as evidence in any Court of Law without prior written consent of AskImam.org.
  • Any or all links provided in our emails, answers and articles are restricted to the specific material being cited. Such referencing should not be taken as an endorsement of other contents of that website.
The Messenger of Allah said, "When Allah wishes good for someone, He bestows upon him the understanding of Deen."
[Al-Bukhari and Muslim]