Sayyiduna Ibn Umar (may Allah be pleased with them both) was asked about walled gardens in which there is human excrement, people's urine and the dung of animals. He said: "When the rains have flowed over them and the winds have dried them, there is no harm in praying there." He used to narrate this from the Prophet (peace and blessings be upon him).
Imam al-Tabarani (may Allah have mercy on him) said: "No one narrated this hadith from Ubaydullah bin Umar (may Allah have mercy on him) except Musa (may Allah have mercy on him), and Amr (may Allah have mercy on him) is alone in narrating it from him."
Hadith Referenceالمعجم الأوسط / باب الألف / 1181
Hadith Gradingمحدثین:فيه عمرو بن عثمان الكلابي مختلف فيه، وبقية رجاله رجال الصحيح
Hadith Takhrij«قال الهيثمي: فيه عمرو بن عثمان الكلابي الرقي ضعفه أبو حاتم والأزدي ووثقه أبو حاتم بن حبان وقال ابن عدي له أحاديث صالحة وبقية رجاله رجال الصحيح خلا شيخ الطبراني «مجمع الزوائد ومنبع الفوائد، ج 1، ص 286»» «أخرجه ابن ماجه فى «سننه» برقم: 744، والدارقطني فى «سننه» برقم: 880، 881»