A man came to the Prophet ﷺ having pronounced the zihar oath against his wife, then had relations with her. He said, "Messenger of Allah, I declared zihar against my wife, then I had relations with her before making expiation."The Prophet ﷺ asked, "What led you to do that, may Allah have mercy on you?"He replied, "I caught sight of her anklet in the moonlight."The Prophet ﷺ said, "Do not go near her until you do what Allah has commanded."
أخبرنا الحسين بن حريث قال حدثنا الفضل بن موسى عن معمر عن الحكم بن أبان عن عكرمة
أن رجلا أتى النبي ﷺ قد ظاهر من امرأته فوقع عليها فقال يا رسول الله إني ظاهرت من امرأتي فوقعت قبل أن أكفر قال وما حملك على ذلك يرحمك الله قال رأيت خلخالها في ضوء القمر فقال لا تقربها حتى تفعل ما أمر الله عز وجل
[Its isnad is hasan] Abu Dawud, Talaq, chapter on zihar, no. 2225, and Tirmidhi, Talaq, chapter on what has been said about a man practicing zihar who has intercourse before making atonement, no. 1199, both narrated it from Husayn bin Hurayth. Tirmidhi said, hasan sahih ghareeb. It is also in Kubra, no. 5651.