Sahih Muslim | Book 26 | Chapter 2

Narrated by Abu Talha
Abu Talha reported: While We were sitting in front of the houses and talking amongst ourselves, Allah's Messenger (may peace be upon him) happened to come there. He stood by us and said: What about you and your meetings on the paths? Avoid these meetings on the paths. We said: We were sitting here without (any intention of doing harm to the passers-by) ; we are sitting to discuss matters and to hold conversation amongst ourselves. Thereupon he said: If there is no help (for you but to sit on these paths), then give the paths their rights and these are lowering of the gaze, exchanging of greetings and good conversation.

Narrated by Abu Sa'id Khudri
Abu Sa'id Khudri reported Allah's Apostle (may peace be upon him) as saying: Avoid sitting on the paths. They (the Companions) said: Allah's Messenger, we cannot help but holding our meetings (in these paths) and discuss matters (there). Thereupon Allah's Messenger (may peace be upon him) said: If you insist on holding meetings, then give the path its due right. They said: What are its due rights? Upon this he said: Lowering the gaze, refraining from doing harm, exchanging of greetings, commanding of good and forbidding from evil.

Narrated by Zaid b. Aslam
This hadith has been narrated on the authority of Zaid b. Aslam with the same chain of transmitters.