The Prophet (may Allah's peace and blessings be upon him) warned his companions of sitting on the roads. They told him that this was indispensable. He said: if you refuse to comply and you must sit there, then you must give the road its due rights. When they asked him about the rights of the road, he instructed them that they should lower their gaze from looking at the women passing by them, refrain from hurting the passersby verbally or by actions, return the greeting to whomever greets them, enjoin what is good, and forbid the evil when they see it.