Sunan Ibn Majah #744 · The Book On The Mosques And The Congregations

Sunan Ibn MajahIt was narrated that Ibn 'Umar was asked about gardens in which excrement was thrown
Sunan Ibn Majah · Book 4 · The Book On The Mosques And The Congregations
Sunan Ibn Majah · كتاب 4 · كتاب المساجد والجماعات
He said: "If it has been watered several times, then perform prayer there," and he attributed that to the Prophet
حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى، حَدَّثَنَا عَمْرُو بْنُ عُثْمَانَ، حَدَّثَنَا مُوسَى بْنُ أَعْيَنَ، حَدَّثَنَا مُحَمَّدُ بْنُ إِسْحَاقَ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، وَسُئِلَ، عَنِ الْحِيطَانِ، تُلْقَى فِيهَا الْعَذِرَاتُ فَقَالَ ‏
"‏ إِذَا سُقِيَتْ مِرَارًا فَصَلُّوا فِيهَا ‏"‏ ‏.‏ يَرْفَعُهُ إِلَى النَّبِيِّ ـ صلى الله عليه وسلم ـ ‏.‏
Reference : Sunan Ibn Majah 744In-book reference : Book 4, Hadith 10