It is narrated from Hazrat Abu Umamah (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: None of you should come to prayer while forcibly holding back urine, etc., and whoever leads the prayer should not supplicate only for himself, leaving the people aside; whoever does so betrays the worshippers.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 22241
Hadith Gradingحکم دارالسلام:صحيح لغيره دون قوله: ولا يؤمن أحدكم.....،وهذا إسناد ضعيف لضعف السفر بن نسير، ثم قد اختلف فيه على يزيد بن شريح