Question:
If one davened and subsequently discovered that for some reason, his body was not clean (he had apparently not cleaned himself properly after the bathroom # 2), is it necessary to repeat the prayer(s)?
Answer:
Shemah he has to repeat and regarding Shemonah Esrey is a dispute amongst the poskim.
Sources:
O:CH 76:5 Mishnah Berurah 17