Abu Saeed Khudri reported,

The Prophet ﷺ said, "Beware of sitting in the roadways."The companions said, "Messenger of Allah, we have no choice but to sit in our gathering places to converse there."The Messenger of Allah ﷺ replied, "If you must sit there, then give the road its due."They asked, "What is its due?"He said, "Lowering the gaze, refraining from causing harm, returning the greeting of peace, enjoining what is right, and forbidding what is wrong."

Muslim 5563

Sahih

حدثني سويد بن سعيد حدثني حفص بن ميسرة عن زيد بن أسلم عن عطاء بن يسار

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

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

مسلم 5563صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Clothing and adornment
Chapter
Prohibition of sitting in the roads and giving the road its due
Numbering
Darussalam 5563
Muslim 5563