Sunan an-Nasa'i, Book 27, Hadith 70 (In-Book)

It was narrated that 'Ikrimah said: "A man declared Zihar to his wife, then had intercourse with her before he had offered the expiation. He mentioned that to the Prophet. The Prophet said to him: 'What made you do that?' He said: 'May Allah have mercy on you, O Messenger of Allah. I saw her anklets, or her calves, in the light of the moon.' The Messenger of Allah said: 'Keep away from her until you have done that which Allah, the Mighty and Sublime, has commanded.'"

أَخْبَرَنَا مُحَمَّدُ بْنُ رَافِعٍ، قَالَ حَدَّثَنَا عَبْدُ الرَّزَّاقِ، قَالَ حَدَّثَنَا مَعْمَرٌ، عَنِ الْحَكَمِ بْنِ أَبَانَ، عَنْ عِكْرِمَةَ، قَالَ تَظَاهَرَ رَجُلٌ مِنِ امْرَأَتِهِ فَأَصَابَهَا قَبْلَ أَنْ يُكَفِّرَ فَذَكَرَ ذَلِكَ لِلنَّبِيِّ صلى الله عليه وسلم فَقَالَ لَهُ النَّبِيُّ صلى الله عليه وسلم ‏"‏ مَا حَمَلَكَ عَلَى ذَلِكَ ‏"‏ ‏.‏ قَالَ رَحِمَكَ اللَّهُ يَا رَسُولَ اللَّهِ رَأَيْتُ خَلْخَالَهَا أَوْ سَاقَيْهَا فِي ضَوْءِ الْقَمَرِ ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ فَاعْتَزِلْهَا حَتَّى تَفْعَلَ مَا أَمَرَكَ اللَّهُ عَزَّ وَجَلَّ ‏"‏ ‏.‏

sunnah.com