Abdullah bin Abbas reported,

I have not seen anything that more closely resembles minor sins (al-lamam) than what Abu Hurairah reported from the Prophet ﷺ, "Allah has decreed for the son of Adam his share of fornication, which he will inevitably commit. The fornication of the eye is the gaze, the fornication of the tongue is speech, the soul wishes and desires, and the private parts either confirm all of that or deny it."

Azami 14185

Sahih

عن عبد الله بن عباس قال

ما رأيت شيئا أشبه باللمم مما قال أبو هريرة، عن النبي ﷺ: إن الله كتب على ابن آدم حظه من الزنا، أدرك ذلك لا محالة، فزنا العين النظر، وزنا اللسان المنطق، والنفس تمنى وتشتهي، والفرج يصدق ذلك كله ويكذبه.

الأعظمي 14185صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Etiquette of seeking permission and greetings
Section
Looking at the forbidden gaze
Numbering
Jami al-Kamil 14185 (2nd edition)
Azami 14185