Abu Saeed Khudri reported,

The Prophet ﷺ said, "Beware of sitting on the roadsides."The companions replied, "We have no alternative. These are our gathering places where we converse."He said, "If you must sit there, then give the road its due."They asked, "What is the due of the road?"He answered, "Lowering the gaze, refraining from causing harm, returning the greeting of peace, enjoining what is right, and forbidding what is wrong."

Azami 12867

Sahih

عن أبي سعيد الخدري

عن النبي ﷺ قال: إياكم والجلوس على الطرقات. فقالوا: ما لنا بد، إنما هي مجالسنا نتحدث فيها. قال: فإذا أبيتم إلا المجالس، فأعطوا الطريق حقها. قالوا: وما حق الطريق؟ قال: غض البصر، وكف الأذى، ورد السلام، وأمر بالمعروف ونهي عن المنكر.

الأعظمي 12867صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Nur
Section
His saying, "Say to the believing men to lower their gaze and guard their private parts. That is purer for them. Indeed, Allah is aware of what they do"
Numbering
Jami al-Kamil 12867 (2nd edition)
Azami 12867