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