Jami` at-Tirmidhi, Book 43, Hadith 46 (Tirmidhi 2851)

Narrated Jabir bin 'Abdullah:

"I asked the Messenger Of Allah (ﷺ) about the unintentional glance, so he ordered me that I divert my sight."