Sayyidina Ibn Abbas (RA) reported that a man came to the Prophet (SAW) after he had made zihar with his wife and indulged in sexual intercourse. He said, “0 Messenger of Allah, I have made zihar with my wife and followed it with sexual intercourse before making an expiation.” He said, “And what compelled you to that, may Allah have mercy on you.” He said, “I glanced at her anklet in the moon light (and was overpowered).” He said, “Now, do not approach her till you have done what Allah has commanded you to do.”
[Abu Dawud 2221, Nisai 3457, Ibn e Majah 2065]