The mind is the set of faculties including cognitive aspects such as consciousness, imagination, perception, thinking, intelligence, judgement, language and memory, as well as noncognitive aspects such as emotion and instinct.
Evil thoughts especially when they are not within a person's control are not considered sins. The best way to rid yourself of these thoughts is to absolutely ignore them. They will become less and less until they fade away completely. They are not really what you think but something that just crosses your mind and they should be treated as such. If it has reached the stage when you cannot help making yourself think these things then again the best remedy is not to punish yourself at all, but to completely ignore them as if they did not even occur. Over time it will pass.
May you always be successful
Maybe it is good to talk to someone wise and trustworthy since the believers are encouraged to take advice from each other, so that this can help you make the best decision and figure out why your heart and mind are having different opinions.
If it is possible to explore or further investigate the option you are thinking about, without committing anything haraam or causing any harm to yourself or others, perhaps that might also shed some light on it.
For some things in life of course we don't know about them until we do them.
Shaitan tries to divert the attention of people from the prayer to other things, that it is why, it is recommended to say after Takbiratul Ehraam when you start the prayer (A'ootho Billah Minashshaytan Arrajeem)أعوذ بالله من الشيطان الرجيم
Your prayer is still valid even if you think outside the prayer, but the reward will be decreased as the Hadeeth says: The prayer will be raised to the sky as much as the attention is in the prayer. لا يرفع للعبد من صلاته إلا ما وعى
It is very important to know while you are praying that:
You are in front of Allah and you are talking to him.
We need to remember our sins and be very humble in front of Allah, seeking forgiveness.
Also we need to remember our definite end in this life and our next life in our grave then our final place in the hereafter where it will be either Paradise or Hellfire God forbid. Remembering these facts will make our prayer more dedicated and our mind more concentrated on the Prayer.
Bad thoughts can come to lot of people as part of our struggle with our worst enemy Shaytan. Your feeling annoyed from such thoughts means you are not with it and your heart and mind is with Allah not with the bad thoughts.
Tackling bad thoughts needs : Firstly: Knowing that these thoughts are instigated by Shaytan. When we know the evil source, we remain more alert.
Secondly: Seeking help from Allah (SWT) to tackle these evil thoughts. He always helps His servants who seek His help. Keep on praying and supplicating to Him even by repeating saying Ya Allah, Ya Allah, Ya Rahman, Ya Raheem etc. It is very useful to repeat ALLAHUMMA SALLI 'ALA MUHAMMAD WA AALI MUHAMMAD.
It is also very helpful to repeat Estighfaar and recitibg Sura Tawheed.
It is also very helpful to recite Sura Qaaf with voice that your can hear.
Seeking the Waseelah of Ahlul Bayt (AS) is very helpful especially Imam Al-Mahdi (AS).
Thank you for your question. The mind is a complex discussion as the thoughts that you hear in your mind have roots in other aspects of your personality. There are also outside influences that can affect your mind. When it comes to bad thoughts, the most effective strategy to ignore the thoughts, especially at the time. If you don't do this thinking over the thought, inadvertently causes more damaging thoughts and a person can get into a mess.
When the thoughts have silenced, you can think about the traits you need to work on. But try your best not to hold onto any negative thought. Rather, use them as signs to work on what is beneath them. If a thought is completely uncharacteristic of yourself, ignore it completely.
May you always be successful
Repeating Istighfaar ( seeking forgiveness) is very useful to clean the heart and the mind from the filth of sinful acts. Istighfaar is always useful especially when you are alone, and during the night, and during prostration ( Sojood).
Remembering our previous sins can make us feel sorry and seek Istighfaar more.
We should never wish to repeat the wrong which we committed, but repent and repeat Istighfaar whenever we r ember it.
Every idea or claim must be assessed by its origin and compatibility with the basic logical and rational principles. The claim of solipsism is based on a doubt created by person or persons who try to run away from the realities of life to claim doubt. They doubts their own existence and the existence of others. How can we accept a claim from persons who doubt their own existence?
Simply, we don't believe in any claim or philosophy which is not based on the true realities of life. All realities of life are mentioned in Quran and Hadeeths and any things goes against these realities can never be accepted.
Philosophy is a way of thinking which needs to be guided by the facts of life best known by The Creator of Life, and not just by the imaginations. Unguided philosophy misleads, while philosophy guided by Allah's messages leads to the Truth.
We are not allowed to believe in the predictions of astrologers, as many of them are not true despite the fact that they some times say right. The Hadeeth says: Astrologers lie even if they say the truth sometimes. كذب المنجمون ولو صدقوا
If we believe in the astrologers, it means that we believe that they know the unseen, which is wrong.