Sunan Ibn Majah

Hadith #330

Salim narrated from his father that:The Prophet forbade praying in the middle of the road, or defecating there, or urinating