It is forbidden to pray in the presence of excrement. (See here for one source.)
Numerous animals were brought for sacrifices in the Temple (Bet Hamikdash.) Prior to slaughter, some animal probably excreted, or smelled from excrement, I assume. Prayers were also recited in the Temple.
Did they recite these prayers in a separate time and / or separate area as the sacrifices themselves or in an area far away from the animal smell? How were the prayers done in the Temple in a way that did not conflict with the aforementioned halacha?