English translation
Full source narration. The matching passage has not yet been identified reliably.
142. Hishām bin 'Urwah narrated from his father, ('Urwah) from 'Abdullāh bin Al-Arqam. He ('Urwah) said: "While standing for the prayer he ('Abdullāh bin Al-Arqam) took a man by the hand leading him forward, he ('Abdullāh) was in front of the people, and he said: 'I heard Allāh's Messenger ﷺ say: "When standing for the prayer and one of
you finds that he has to relieve himself, then let him relieve himself first.” (Saḥīḥ)
[He said:] There are narrations on this topic from ‘Āishah, Abū Hurairah, Thawbān, and Abū Umāmah.
Abū ‘Eisā said: The Hadīth of ‘Abdullāh bin Al-Arqam is a Ḥasan Saḥīḥ Hadīth.
Similar to this has been reported by Mālik bin Anas, Yahya bin Sa‘eed Al-Qaṭṭān and more than one of the Ḥuffāz, from Hishām bin ‘Urwah, from his father, from ‘Abdullāh bin Al-Arqam.
And Wuhaib and others reported it from Hishām bin ‘Urwah, from his father, from a man, from ‘Abdullāh bin Al-Arqam.
This is the saying of more than one of the Companions of the Prophet ﷺ, and the Tābi‘īn.
It is the view of Aḥmad and Ishāq. They say that one is not to begin the prayer while he feels that he has to defecate or urinate. They say that if he begins the prayer and notices something of this nature, then he should not leave it if he is not distracted by it.
Some of the people of knowledge said that there is no harm in praying while one feel the need to defecate or urinate, as long as it does not distract him from the prayer.
[Tirmidhi, 142.]