(1) The Book of Purification and its Sunnah
كتاب الطهارة وسننها
(21) Chapter: Prohibition of relieving oneself in the middle of the road
(21) باب النَّهْىِ عَنِ الْخَلاَءِ عَلَى قَارِعَةِ الطَّرِيقِ
Sunan Ibn Majah 330 
Salim narrated from his father that:
The Prophet forbade praying in the middle of the road, or defecating there, or urinating.
حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى، حَدَّثَنَا عَمْرُو بْنُ خَالِدٍ، حَدَّثَنَا ابْنُ لَهِيعَةَ، عَنْ قُرَّةَ، عَنِ ابْنِ شِهَابٍ، عَنْ سَالِمٍ، عَنْ أَبِيهِ، أَنَّ النَّبِيَّ ـ صلى الله عليه وسلم ـ نَهَى أَنْ يُصَلَّى عَلَى قَارِعَةِ الطَّرِيقِ أَوْ يُضْرَبَ الْخَلاَءُ عَلَيْهَا أَوْ يُبَالَ فِيهَا ‏.‏
Grade :  Da'if (Darussalam)
Reference : Sunan Ibn Majah 330
In-book reference : Book 1, Hadith 64
English translation : Vol. 1, Book 1, Hadith 330