Hadith 10094

حَدَّثَنَا وَكِيعٌ ، حَدَّثَنَا دَاوُدُ الْأَوْدِيُّ ، عَنِ أَبِيهِ ، عَنِ أَبِي هُرَيْرَةَ , قََالَ : قََالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " لَا يَقُومَنَّ أَحَدُكُمْ إِلَى الصَّلَاةِ وَبِهِ أَذًى مِنْ غَائِطٍ أَوْ بَوْلٍ " .
It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: When someone feels the need to urinate or defecate, he should not stand for prayer.
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 10094
Hadith Grading حکم دارالسلام: صحيح بطرقه و شواهده، وهذا إسناد ضعيف لضعف داود