The Prophet (peace and blessings of Allaah be upon him) said: “Allaah will forgive my ummah for whatever crosses their minds so long as they do not speak of it or act upon it.” Narrated by al-Bukhaari, 4968; Muslim, 127
The one who is tested with this kind of waswaas must always read Qur’aan and recite the dhikrs prescribed in sharee’ah, morning and evening. He must strengthen his faith by doing acts of worship and shunning evil. He must occupy himself in seeking knowledge, for although the Shaytaan may gain power over a worshipper, he cannot gain power over one who has knowledge (of Islam Quran and Sunna)).
The Shaytaan may come and whisper evil things to a Muslim about Allaah, or His Messenger, or His sharee’ah, things that the Muslim hates and does not approve of. The fact that he resists these waswaas and hates them is a sign of the soundness of his faith. So he should strive to control his nafs (jihad al-nafs) and not respond to the one who calls him to evil.
Ibn Katheer (may Allaah have mercy on him) said:
The phrase: “and whether you disclose what is in your own selves or conceal it, Allaah will call you to account for it” [al-Baqarah 2:284 – interpretation of the meaning] means that even if He brings you to account and questions you, He will not punish you except for that which a person is able to ward off. As for that which he cannot ward off, such as the waswaas of the nafs, no one is accountable for that, and hating evil waswasah is part of faith.
Tafseer Ibn Katheer, 1/343
Shaykh ‘Abd al-‘Azeez ibn Baaz (may Allaah have mercy on him) was asked:
Waswaas and ideas may cross a person’s mind, especially to do with Tawheed and faith; will the Muslim be punished for that?
He replied:
It is narrated in al-Saheehayn and elsewhere that the Messenger of Allaah (peace and blessings of Allaah be upon him) said: “Allaah will forgive my ummah for whatever crosses their minds so long as they do not speak of it or act upon it.” Agreed upon. And it is narrated that the Sahaabah (may Allaah be pleased with them) asked the Prophet (peace and blessings of Allaah be upon him) about the kinds of waswaas and thoughts referred to in the question crossing their minds. He (peace and blessings of Allaah be upon him) replied: “That is a clear sign of faith.” Narrated by Muslim. And he (peace and blessings of Allaah be upon him) said: “The people will keep on wondering until it is said, ‘This was created by Allaah, but who created Allaah?’ Whoever experiences any of that, let him say, ‘Aamantu Billaahi wa rusulihi (I believe in Allaah and His Messengers).’” Agreed upon. According to another report: “Let him seek refuge with Allaah and stop it.” Narrated by Muslim in his Saheeh.
Tuhfatal-Ikhwaan bi Ajwibah Muhimmah tata’allaq bi Arkaan al-Islam (question no. 10).
taken from : islamqa.
I think that when a muslem is doing good and in good company then shaytan has liitle effect the proplem comes when we are not doing good and alone.
يغفر الله تبارك وتعالى للعبد الهواجس التي تدور في صدره، كما في صحيح البخاري ومسلم أو في صحيح مسلم (أنهم قالوا: يا رسول الله! إن الرجل يدور في صدره الكلمة لئن يخر من السماء أحب إليه من أن يتلفظ بها) أي: أشياء تتعلق بذات الله تبارك وتعالى، وفي الصحيحين: (يأتي الشيطان أحدكم فيقول: هذا الله خلق الخلق! فمن خلق الله؟!) أي: خلق الله كذا.. كذا.. وخلق السماوات وخلق الأرض وخلق الإنسان.. فيلقي الشيطان اللعين في نفوسهم -بعد هذا- فمن خلق الله؟! فبعض الناس قد يتردد في صدره أشياء لو تلفظ بها لأن يخر من السماء على أم رأسه أهون عليه من أن يتكلم بها، فقالوا هذا للنبي عليه الصلاة والسلام فقال: (أوقد وجدتموه، ذاك صريح الإيمان) أي أن هذا يدل على الإيمان؛ لأن الذي حجزك أن تتلفظ بهذا اللفظ إنما هو الإيمان، وفي بعض طرق هذا الحديث قال النبي عليه الصلاة والسلام: (الحمد لله الذي رد كيده إلى الوسوسة) فأنت لم تتكلم به إنما رد كيده إلى الوسوسة. فمثل هذه الهواجس التي قد تتوارد في صدر العبد بقتل إنسان أو بفعل فاحشة أو نحو ذلك -مجرد أنها تدور فقط في الصدر- من رحمة الله تبارك وتعالى أنه تجاوز لهذه الأمة عنها، فلا يؤاخذ العبد بها إلا إذا تكلم بها أو فعل إما بلسان أو بجارحة.
taken from:
http://audio.islamweb.net/audio/index.php?page=FullContent&audioid=106174