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