Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) was sitting in the mosque when a Bedouin came and sat down and began to urinate. The Companions of the Messenger of Allah (peace and blessings be upon him) (may Allah be pleased with them) said: "Stop, stop!" The Prophet (peace and blessings be upon him) said: "Do not interrupt his urination." Then he (peace and blessings be upon him) called him and said: "These mosques are not fit for any kind of filth. [Some words are missing in the text here.] Or as the Messenger of Allah (peace and blessings be upon him) said. They are only for the recitation of the Qur'an, prayer and the remembrance of Allah." Then he (peace and blessings be upon him) called for a bucket of water and poured it over it (the place of urine).
Imam al-Tabarani (may Allah have mercy on him) said: "No one narrated this hadith from Ishaq bin Abdullah bin Abi Talhah except Ikrimah bin Ammar and Hammam bin Yahya."
Hadith Referenceالمعجم الأوسط / باب الفاء / 4947
Hadith Takhrij«أخرجه البخاري فى «صحيحه» برقم: 219، 221، 6025، (1/54) [دون رقم في الترقيم المختار]، ومسلم فى «صحيحه» برقم: 284، 285، ومالك فى «الموطأ» برقم: 209 / 54، وابن خزيمة فى «صحيحه» برقم: 296، 293، وابن حبان فى «صحيحه» برقم: 1401، والنسائي فى «المجتبى» برقم: 53 / 1، 54 / 2، 55 / 3، 328 / 2، والنسائي فى «السنن الكبرى» برقم: 51، 52، 53، والترمذي فى «جامعه» برقم: 148، والدارمي فى «مسنده» برقم: 767، وابن ماجه فى «سننه» برقم: 528، والبيهقي فى «السنن الكبرى» برقم: 4209، 4208، 4301، 4304، 4302، 4303، 4305، 20323، وأحمد فى «مسنده» برقم: 12265، 12315، 12906، 13184، 13572، والحميدي فى «مسنده» برقم: 1230، وأبو يعلى فى «مسنده» برقم: 3467، 3654، 3652، وعبد بن حميد فى «مسنده» برقم: 1381، والبزار فى «مسنده» برقم: 6201، 6426، وعبد الرزاق فى «مصنفه» برقم: 1660، وابن أبي شيبة فى «مصنفه» برقم: 2042، والطحاوي فى «شرح معاني الآثار» برقم: 10، 11، والطحاوي فى «شرح مشكل الآثار» برقم: 5004، والطبراني فى «الأوسط» برقم: 5809»