Narrated Abu Sa’ad: The Prophet, peace be upon him, said, “Beware! Avoid sitting on the roads (ways).” The people said, “There is no way out of it as these are our sitting places where we have talks.” The Prophet, peace be upon him, said, “If you must sit there, then observe the rights of the way.”
They asked, “What are the rights of the way?” He said, “They are the lowering of your gazes (on seeing what is illegal to look at), refraining from harming people, returning greetings, enjoining Al-Ma’roof (i.e. enjoining all that Islam orders one to do) and forbidding Al-Munkar (i.e. all that Islam has forbidden).”
[3: 645- O.B. Sahih Al-Bukhari]
Narrated Abu Hurairah: The Prophet, peace be upon him, judged that seven cubits should be left, as a public way when there was a dispute about the land.
[3: 653- O.B. Sahih Al-Bukhari)