If one needed to relieve themselves (urinate or defecate) and prayed anyway — is the prayer valid?

PrayerPreparation for Prayer

Synopsis

The Mechaber rules that praying while needing to relieve oneself is forbidden; if one prayed and could not hold back for the duration of a parasang (≈1 hour 12 minutes), the prayer is an abomination (to'evah) and must be repeated. If one could hold back for a full parasang, the prayer is valid b'dieved. Authorities dispute whether this applies equally to urination (ketanim) and defecation (gedolim).

Rishonim
Early Acharonim
Late Acharonim
Lenient
Strict
Lesser cited
Major authority

Discussion

Discussion coming soon.

The Daily Law

One question. Every opinion. Every morning.

A new halakhic question and the full spectrum of rabbinic thought, delivered daily.