Question:
If a man is being pressed by the need to urinate while in prayer, is it correct for him to perform the prayer in such a state?
Answer:
If the need to urinate arises while in prayer, he should leave the prayer and relieve himself, and then perform the prayer, because the Messenger of Allah ﷺ said:
لا صلٰوة بحضرة الطعام ولا هو يدافعه الأخبثان
“There is no prayer when food is present, nor when the two foulest things are pressing him.”
The two foulest things refer to urine and feces.
Similarly, there is a narration from Zayd ibn Arqam (may Allah be pleased with him) that the Messenger of Allah ﷺ said:
اذا اراد احدكم الغائط فليبدأ به قبل الصلٰوة
“When any one of you wants to relieve himself of feces, let him do that before the prayer.”
Therefore, one should relieve himself first and then pray, so that the prayer can be performed with calm and tranquility.