Must I repeat my prayer if a baby with a soiled diaper was nearby?
If the child can already eat a kezayit of grain food in approximately seven minutes, which the text associates with around one year of age, and the excrement emitted a foul odor, the prayer is invalid and must be repeated. If there was no foul odor, the prayer is valid. Authorities disagree about blessings recited in the presence of such an odor, so they are not repeated because of the doubt.
A practical halachic question: the final ruling is for your rabbi.
The source brings differing opinions.
This answer was given to a specific person, not as a general rule.
Quote from the source«If no foul odor emitted, the prayer is valid.»
- Author
- Rabbi Eliezer Melamed
- Source
- Parsha.net — Tetzave84, p. 3
- Parsha
- Tetzaveh