This question already has an answer here:
I’ve been suffering with ocd the past few months and I keep repeating salat and I spend 10-30 minutes performing salat because I’m making sure to pronounce everything correctly. My question is does mispronunciation invalidate salat? To be specific if instead of saying once, “subhana rabbi ala wa bi hamdihi” I said “subhana rabbi ala bi hamdihi” does that invalidate my salat? Sometimes in my prayer I will think i said this part wrong but I do not know whether to perform prostration of forgetfulness or if it’s insignificant. Also, if I make a mistake in the surah after Fatiha, does that invalidate salat? Thank you all for your help, I just need help getting through this..