Wa alaykumus salam warah matullahi wabarakaatu
It is narrated on the authority of Amir al-Mu'minin (Leader of the Believers), Abu Hafs 'Umar bin al-Khattab (may Allah be pleased with him), who said: I heard the Messenger of Allah (peace be upon him), say
"Actions are according to intentions, and everyone will get what was intended. Whoever migrates with an intention for Allah and His messenger, the migration will be for the sake of Allah and his Messenger. And whoever migrates for worldly gain or to marry a woman, then his migration will be for the sake of whatever he migrated for."
Related by Bukhari & Muslim
I highlighted that part to show you that your action is clearly something that happend to you not what you seeked. you dont want to become a non muslim and you havent activley acted opon it. you are not a kuffar you clearly fear allah this is shaytan trying to get to you. seek protection in allah and look into waswas, ask allah to protect you from kufur. this dua of prophet yusuf in the quran (from surah yusuf) is great:
[FONT="]O Rabb! You have indeed given me a kingdom and taught me the interpretation of dreams. O, the Creator of the heavens and the earth, You are my Protector in this world and in the hereafter, make me die as a Muslim and admit me among the righteous." ayah 101 or 10
also
[FONT="]It was narrated that Abu Hurayrah (may Allah be pleased with him) said: “Some of the Companions of the Messenger of Allah (peace and blessings of Allah be upon him) came to the Prophet (peace and blessings of Allah be upon him) and said to him, ‘We find in ourselves thoughts that are too terrible to speak of.’ He said, ‘Are you really suffering from that?’ They said, ‘Yes.’ He said, ‘That is a clear sign of faith.’” (Muslim). [/FONT][FONT="]
if you chose to be a disbeliver you wouldn't be responding in this way because you want it you cannot force someone to belive in allah or leave allah unless they choose for themselves.
allah is the guider and the most mercifull,have trust in him.
[/FONT][/FONT]
[h=4]And rely upon Allah; and sufficient is Allah as Disposer of affairs. ayah 3 ahzab[/h]
[FONT="]
[/FONT]