This question already has an answer here:
I have a co-worker that seems to have trouble making it to the restroom in time. I'm not 100% certain that he/she is straight up crapping themselves, but whatever it is produces a very strong smell of fecal matter that lingers for 15-45 minutes (my desk is in between his/hers and the restroom) and he/she is in the restroom for around 30 minutes when this happens. The smell is definitely coming from the person and not the bathroom.
Is there anything to be done about this? Obviously, I don't want to smell this 1-2 times a week but I also don't want to embarrass the person by bringing it up. I'm not the only one in the office aware of this but nobody seems to know what to do and to the best of my knowledge nobody has spoken to him/her about it.