Salim narrated from his father that:
The Prophet forbade praying in the middle of the road, or defecating there, or urinating.
English reference: Vol. 1, Book 1, Hadith 330
Arabic reference: Book 1, Hadith 354
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.