_Serious_ might invalidate prayer

Bro, I genuinely have a question about my way of purifying myself after call of nature.

After I'm done with it, I rub + wash with water. Thing is, before prayer (I go to the mosque btw), I usually answer call of nature before going to the mosque, so that I don't feel like it during prayer. It's like there's some particles more, but it's impossible to get it out more, so I think that's all I guess. But guess what, during prayer, I feel like some more are getting out, so this is like a problem, as, I've been many times happened.

Please tell me if this happens to you and you do something to counter it, Or it's just me that's having a problem Or it's just the devil playing with my mind. But you should know, I'm certain of it, bcuz of the smell.

This might not be the right place to post this, so lmk if I should post this elsewhere.

Btw please answer this, I'm in desperate need for advice.

‎جزاك الله خيرا