Mishkat al-Masabih 86
عَنْ أَبِي هُرَيْرَةَ عَنِ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِنَّ اللَّهَ كَتَبَ عَلَى ابْنِ آدَمَ حَظَّهُ مِنَ الزِّنَا أَدْرَكَ ذَلِكَ لَا مَحَالَةَ فَزِنَا الْعَيْنِ النَّظَرُ وَزِنَا اللِّسَانِ الْمَنْطِقُ وَالنَّفْسُ تَمَنَّى وَتَشْتَهِي وَالْفَرْجُ يصدق ذَلِك كُله ويكذبه» وَفِي رِوَايَةٍ لِمُسْلِمٍ قَالَ: «كُتِبَ عَلَى ابْنِ آدَمَ نَصِيبُهُ مِنَ الزِّنَا مُدْرِكٌ ذَلِكَ لَا محَالة فالعينان زِنَاهُمَا النَّظَرُ وَالْأُذُنَانِ زِنَاهُمَا الِاسْتِمَاعُ وَاللِّسَانُ زِنَاهُ الْكَلَامُ وَالْيَدُ زِنَاهَا الْبَطْشُ وَالرِّجْلُ زِنَاهَا الْخُطَا وَالْقَلْبُ يَهْوَى وَيَتَمَنَّى وَيُصَدِّقُ ذَلِكَ الْفَرْجُ وَيُكَذِّبُهُ»
From Abu Hurayrah, from the Prophet ﷺ: "Allah has written for the son of Adam his share of zina, which he will inevitably come to. The zina of the eye is looking, the zina of the tongue is speech, and the self wishes and desires, and the private part confirms all that or denies it." And in a narration of Muslim, he said: "The son of Adam's portion of zina has been written for him, which he will inevitably come to. The eyes: their zina is looking; the ears: their zina is listening; the tongue: its zina is speech; the hand: its zina is seizing; the foot: its zina is walking; and the heart desires and wishes, and the private part confirms that or denies it."