Hadith 330

Salim narrated from his father that: The Prophet forbade praying in the middle of the road, or defecating there, or urinating.

حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى، حَدَّثَنَا عَمْرُو بْنُ خَالِدٍ، حَدَّثَنَا ابْنُ لَهِيعَةَ، عَنْ قُرَّةَ، عَنِ ابْنِ شِهَابٍ، عَنْ سَالِمٍ، عَنْ أَبِيهِ، أَنَّ النَّبِيَّ ـ صلى الله عليه وسلم ـ نَهَى أَنْ يُصَلَّى عَلَى قَارِعَةِ الطَّرِيقِ أَوْ يُضْرَبَ الْخَلاَءُ عَلَيْهَا أَوْ يُبَالَ فِيهَا ‏.‏

Reference: 1303530
In-book reference: Book 1, Hadith 330
Hadith 330 - The Book of the Sunnah - Sunan Ibn Majah - Sunnah.com