Sunan Ibn Majah 618
سنن ابن ماجه#618Da'ifIt was narrated that Abu Hurairah said:"The Messenger of Allah said, 'No one of you should stand to pray when he feels some discomfort (because of needing to urinate or defecate)
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Al-AlbaniDaif
Muhammad Fouad Abd al-BaqiSahih
Shuaib Al ArnautSahih Lighairihi
Zubair Ali ZaiSahih
In-book reference: 1:352