Abu Hurairah reported,

The Prophet ﷺ said, "It is not lawful for a man who believes in Allah and the Last Day to pray while holding back the call of nature, until he has relieved himself."Then Thawban reported that the Messenger of Allah ﷺ said, "There are three things that no one is allowed to do. A man must not lead a people in prayer and single himself out with the supplication apart from them, for if he does, he has betrayed them. He must not look into the inside of a house before asking permission, for if he does, he has already entered. And he must not pray while holding back the call of nature, until he has relieved himself."He said, "It is not lawful for a man who believes in Allah and the Last Day to lead a people in prayer except with their permission, nor to single himself out with a supplication apart from them, for if he does, he has betrayed them."

Abu Dawud 91

Hasan

حدثنا محمود بن خالد السلمي حدثنا أحمد بن علي حدثنا ثور عن يزيد بن شريح الحضرمي عن أبي حي المؤذن عن أبي هريرة عن النبي ﷺ قال لا يحل لرجل يؤمن بالله واليوم الآخر أن يصلي وهو حقن حتى يتخفف ثم ساق نحوه على هذا اللفظ قال ولا يحل لرجل يؤمن بالله واليوم الآخر أن يؤم قوما إلا بإذنهم ولا يختص نفسه بدعوة دونهم فإن فعل فقد خانهم

أبو داود 91حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Purification
Chapter
A man praying while needing to relieve himself
Numbering
Darussalam 91
Abu Dawud 91