Salim narrated from his father that:
The Prophet forbade praying in the middle of the road, or defecating there, or urinating. (ID)
English reference (ID): Vol. 1, Book 1, Hadith 330 (ID)
Arabic reference (ID): Book 1, Hadith 354 (ID)