From Sahih Muslim (Hadith 6754):
Abu Huraira reported Allah's Apostle (ﷺ) as saying:Verily Allah has fixed the very portion of adultery which a man will indulge in, and which he of necessity must commit. The adultery of the eye is the lustful look, and the adultery of the tongue is the licentious speech, the heart desires and yearns, which the parts may or may not put into effect
Reference: Muslim 6754