The Sufficient (Vol 3) · Hadith 1498 (#Ḥadīth #4)
Chapter 58 | Performing Salah (Prayer) Inside Ka’bah, on its Top, al-Biya 4, Churches and Places where Performing Salah (prayer) Is Undesirable
4ـ عَلِيُّ بْنُ مُحَمَّدٍ عَنْ سَهْلِ بْنِ زِيَادٍ عَنْ أَحْمَدَ بْنِ مُحَمَّدِ بْنِ أَبِي نَصْرٍ عَمَّنْ سَأَلَ أَبَا عَبْدِ الله (عَلَيْهِ الْسَّلام) عَنِ الْمَسْجِدِ يَنِزُّ حَائِطُ قِبْلَتِهِ مِنْ بَالُوعَةٍ يُبَالُ فِيهَا فَقَالَ إِنْ كَانَ نَزُّهُ مِنَ الْبَالُوعَةِ فَلاَ تُصَلِّ فِيهِ وَإِنْ كَانَ نَزُّهُ مِنْ غَيْرِ ذَلِكَ فَلاَ بَأْسَ بِهِ.
4. Ali ibn Muhammad has narrated from Sahl ibn Ziyad from Ahmad ibn Muhammad ibn abu Nasr from someone who had asked abu ‘Abd Allah , has the following: “I once asked abu ‘Abd Allah , about the al-Qiblah (al-Ka‘bah) side of the wall of a Masjid from which sewage, in which people urinate, leaks. He (the Imam) said, ‘If the leakage is from the sewage, do not perform Salah (prayer) there; but if the leakage is from something else, it is not an offense to perform Salah (prayer) there.’”
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).