حَدَّثَنَا أَبُو الْحَسَنِ مُحَمَّدُ بْنُ الْحُسَيْنِ الْعَلَوِيُّ إِمْلَاءً، أنبأ أَبُو حَامِدِ بْنُ الشَّرْقِيِّ، ثنا عَبْدُ الرَّحْمَنِ بْنُ بِشْرِ بْنِ الْحَكَمِ، ثنا بَهْزُ بْنُ أَسَدٍ، ثنا شُعْبَةُ، عَنْ إِدْرِيسَ الْأَوْدِيِّ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ أَنَّهُ قَالَ: " لَا يُصَلِّي أَحَدُكُمْ وَهُوَ يَجِدُ شَيْئًا مِنَ الْخَبَثِ ". أَسْنَدَهُ جَمَاعَةٌ عَنْ شُعْبَةَ، وَرَوَاهُ آدَمُ بْنُ أَبِي إِيَاسٍ عَنْ شُعْبَةَ فَوَقَفَهُ.
It is narrated from Abu Hurayrah (may Allah be pleased with him) that he (peace and blessings be upon him) said: "None of you should pray while he feels the need to relieve himself."
A group narrated it from Shu'bah with a connected chain to the Prophet, while Adam bin Abi Iyas narrated it from Shu'bah as mawquf (the words of the Companion).