كتاب الأمور المنهي عنها
17  
The Book of the Prohibited actions
(290)
Chapter: Prohibition of gazing at women and Beardless Handsome Boys except in Exigency
(290)
- باب تحريم النظر إلى المرأة الأجنبية والأمرد الحسن لغير حاجة شرعية
Riyad as-Salihin 1623
Abu Sa'id Al-Khudri (May Allah be pleased with him) said:
The Prophet (ﷺ) said, "Avoid sitting on roadsides." His Companions said: "O Messenger of Allah (ﷺ), there is no other alternative but to sit there to talk." Thereupon the Messenger of Allah (ﷺ) said, "If you have to sit at all, then fulfill the rights of the road." They asked: "What are their rights?" Thereupon he said, "Lowering the gaze (so that you may not stare at unlawful things); refraining from doing some harm to others, responding to greeting (i.e., saying 'Wa'alaikumus- salam' to one another) and commanding the good and forbidding the evil."

[Al-Bukhari and Muslim].

وعن أبي سعيد الخُدري رضي الله عنه عن النبي صلى الله عليه وسلم قال‏:‏ ‏"‏إياكم والجلوس في الطرقات‏"‏‏.‏ قالوا‏:‏ يا رسول الله ما لنا من مجالسنا بُد نتحدث فيها‏.‏ فقال رسول الله صلى الله عليه وسلم ‏:‏ ‏"‏فإذا أبيتم إلا المجلس، فأعطوا الطريق حقه‏"‏ قالوا‏:‏ وما حق الطريق يا رسول الله‏؟‏ قال‏:‏ ‏"‏غض البصر، وكف الأذى، ورد السلام، والأمر المعروف والنهي عن المنكر‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 1623
In-book reference : Book 17, Hadith 113