It is narrated from Sayyiduna Abdullah (may Allah be pleased with him) that he said: "A Bedouin came and urinated in the mosque, and the Prophet (peace and blessings be upon him) gave an order concerning that spot, so (the soil there) was dug out and a bucket of water was poured over it," and then the narrator mentioned the full hadith.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب المساجد / 1002
Hadith Gradingمحدثین:إسناده ضعيف؛ لجهالة سمعان بن مالك، وزيادة الحفر منكرة، وأصل القصة صحيح
Hadith Takhrij«أخرجه صحيح البخاري برقم: 219، وأخرجه سنن الترمذي برقم: 147، وأخرجه سنن النسائي برقم: 55، وأخرجه سنن ابن ماجه برقم: 528، وأخرجه مسند أحمد برقم: 11722، وأخرجه موطأ مالك برقم: 144، وأخرجه سنن الدارمي برقم: 740، وأخرجه المطالب العالية بزوائد المسانيد الثمانية برقم: 15»