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