Sunan Ibn Majah, Book 10, Hadith 2143 (In-Book) ⓘ
It was narrated from Ibn 'Abbas that: a man declared Zihar upon his wife, then he had intercourse with her before offering expiation. He came to the Prophet and told him about that. He said: "What made you do that?" He said: "I saw her ankles in the moonlight, and I could not control myself, and I had intercourse with her." The Messenger of Allah smiled and told him not to go near her until he had offered expiation.
حَدَّثَنَا الْعَبَّاسُ بْنُ يَزِيدَ، قَالَ حَدَّثَنَا غُنْدَرٌ، حَدَّثَنَا مَعْمَرٌ، عَنِ الْحَكَمِ بْنِ أَبَانَ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ رَجُلاً، ظَاهَرَ مِنِ امْرَأَتِهِ فَغَشِيَهَا قَبْلَ أَنْ يُكَفِّرَ فَأَتَى النَّبِيَّ ـ صلى الله عليه وسلم ـ فَذَكَرَ ذَلِكَ لَهُ فَقَالَ " مَا حَمَلَكَ عَلَى ذَلِكَ " . فَقَالَ يَا رَسُولَ اللَّهِ رَأَيْتُ بَيَاضَ حِجْلَيْهَا فِي الْقَمَرِ فَلَمْ أَمْلِكْ نَفْسِي أَنْ وَقَعْتُ عَلَيْهَا . فَضَحِكَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ وَأَمَرَهُ أَلاَّ يَقْرَبَهَا حَتَّى يُكَفِّرَ .
also referenced under: Hadith 2065 (Reference) & Volume 3, Book 10, Hadith 2065 (DarusSalam)