I think it just waswas because you don't mean to say it and you are forcing to say it
Say :
.اللهُ اللهُ رَبِّ لا أُشْـرِكُ بِهِ شَيْـئاً.
Allahu Allahu rabbi la oshriku bihi shaya.
‘Allah, Allah is my Lord, I do not associate anything with Him.’
- دعاء من أصابه شك في الإيمان
"يستعيذ بالله "
"ينتهي عما شك فيه "
- يقول" آمنت بالله ورسله "
- يقرأ قوله تعالى{ هُوَ الْأَوَّلُ وَالْآخِرُ وَالظَّاهِرُ وَالْبَاطِنُ وَهُوَ بِكُلِّ شَيْءٍ عَلِيمٌ }"
Supplication for one afflicted with doubt in his faith
■ He should seek refuge in Allah
■ He should renounce that which is causing such doubt.
■ He should say:
آمَنْـتُ بِاللهِ وَرُسُـلِه.
Amantu billahi warusulih.
‘I have believed in Allah and His Messenger.’
■ He should also recite the following verse:
هُوَ الأوَّلُ، وَالآخِـرُ، وَالظّـاهِـرُ، وَالْبـاطِـنُ، وَهُوَ بِكُلِّ شَيءٍ عَلـيم .
Huwa al-awwalu, waal-akhiru, waalththahiru waalbatinu wahuwa bikulli shayin AAaleem.
‘He is The First and The Last, Aththahir and Al-Batin and He knows well all things.’
Aththahir: Indicates the greatness of His attributes and the insignificance of every single creation in respect to His greatness and Highness, for He is above all of His creation as regards His essence and attributes.
Al-Batin: Indicates His awareness and knowledge of all secrets, of that which is in the hearts and the most intimate of things just as it indicates His closeness and nearness to all in a manner which befits His majesty.
and you should also don't care about it after doing so ... because you know that Allah won't ask you about this
try to don't forget adkar assabah WA lmasae remembering Allah : especially those important following
Reciting ayatulkurssiy 2:255 1 time
And chapters number 112 and 113 and 114 ikhlas alfalak and annass
3 times right after Fajr and also after Maghreb
Saying
la ilaha ila Allah wahdahu la sharika lah, lahu al-mulk wa lahu al-hamd, wa huwa `ala kulli shay’in qadir
There is no god but Allah, alone, without partner. His is the sovereignty, and His the praise, and He has power over everything 100 times a day after Fajr and after Maghreb
will have a reward equivalent to the reward for freeing 10 slaves. Also, 100 deeds will be recorded for him & 100 bad deeds of his will be wiped off, & it will be a safeguard for him from Satan that day until evening, & no one will be better in deeds than such a person except he who does more than that.” [Bukhari, Muslim, Tirmidhi, Nasa’i and Ibn Majah]
Saying the last two verses of suratu lbakarah 2: 285/286
Amana arrasoolu bimaonzila ilayhi min rabbihi walmu/minoona kullun amanabillahi wamala-ikatihi wakutubihiwarusulihi la nufarriqu bayna ahadin min rusulihiwaqaloo samiAAna waataAAna ghufranakarabbana wa-ilayka almaseer
La yukallifu Allahu nafsanilla wusAAaha laha ma kasabatwaAAalayha ma iktasabat rabbana latu-akhithna in naseena aw akhta/narabbana wala tahmil AAalayna isrankama hamaltahu AAala allatheena minqablina rabbana wala tuhammilnama la taqata lana bihi waAAfuAAanna waghfir lana warhamnaanta mawlana fansurna AAalaalqawmi alkafireen
The Messenger has believed in what was revealed to him from his Lord, and [so have] the believers. All of them have believed in Allah and His angels and His books and His messengers, [saying], “We make no distinction between any of His messengers.” And they say, “We hear and we obey. [We seek] Your forgiveness, our Lord, and to You is the [final] destination.
Allah does not charge a soul except [with that within] its capacity. It will have [the consequence of] what [good] it has gained, and it will bear [the consequence of] what [evil] it has earned. “Our Lord, do not impose blame upon us if we have forgotten or erred. Our Lord, and lay not upon us a burden like that which You laid upon those before us. Our Lord, and burden us not with that which we have no ability to bear. And pardon us; and forgive us; and have mercy upon us. You are our protector, so give us victory over the disbelieving people
2: 285/286
Say it bafor going to sleep
But don't let it any time take it as your medicine take it strictly
And think about this as when a person go to a doctor and tell him that he suffering from a chronic disease
He will do his medicine even if he know that this will be for the rest of his life
It will help so much but it need to put your trust in Allah and when this things Comes to your head say the things I mentioned before and try to make your self busy with any good and halal thing
And you should that this just from shaytan to led you to lose hope from the mercy of Allah you just have to be calm and to know that is not you but this is shaytan
In this way you will get rid of all those things and get reward also
May Allah help you
Amen!