21. More About Cleanliness For Prayer and Study
5:11 If a person who is praying or learning Torah passes wind, he must pause until the offensive odor dissipates. The same is true if he is davening and a person in his vicinity breaks wind. However, if one is studying Torah, he does not have to wait because of a smell that comes from another person.
5:12 A person must distance himself so that he does not pray adjacent to a bathroom, even though it has walls and is clean. The same is true for a child’s potty or anything else used as a lavatory – it must be removed or covered in order to pray or study Torah.