Shaykh Muhammad Farooq Rafi
Benefits:
➊ These hadiths are evidence that praying while under a severe urge to urinate or defecate is disliked, because in this state there is no complete humility and submission and full concentration in the prayer, which is a condition for the validity of the prayer. Therefore praying while in this predicament is impermissible.
➋ In the case of (the urge for) urine and stool, it is permissible to leave the congregational prayer, and delaying the obligatory prayer is permitted, even if the actual time of the prayer passes. These things are among the valid excuses for staying behind from the congregational prayer and for missing the actual time of the prayer.
➌ A slight urge to urinate or defecate is not contrary to the validity of the prayer.
➍ If one is confronted with these things during the prayer, it is a recommended act to leave the prayer and relieve oneself of them.
Source: Sahih Ibn Khuzaymah: Commentary by Muhammad Farooq Rafee, Page: 933