Volume 3, Book 43, Number 645:
Narrated Abu Said Al-Khudri (radiallaahu `anhu):
The Prophet (sallallaahu `alayhi wasallam) said, “Beware! Avoid sitting on he roads (ways).” The people said, “There is no way out of it as these are our sitting places where we have talks.” The Prophet (sallallaahu `alayhi wasallam) 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, advocating good and forbidding evil.”
I don’t know why it’s ‘cool’ for a group of friends to hang out on a staircase or on a narrow pathway/corridor. It’s so inconvenient for passers-by when we block their way. Let’s be more considerate. Find a nice corner to chit chat and spend time.
Same goes for cars. Do NOT park on the road/street where other cars might find it difficult to pass, even if you’re getting off for a minute. Think of others before yourself.
If you, by any chance, are sitting/standing on the way or in a public place, give the right of way. Do NOT gawk at people, busy yourself with something more productive like homework? Do not harm people in any way, be it by blocking their way or making them feel uncomfortable. Return greetings when they greet you. Or you could greet them first if they feel shy about it. Advocate good and forbid evil, just like we should be doing all the time.