It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that a man came to the Prophet (peace and blessings be upon him) who had declared zihar against his wife and then had intercourse with her. He said: "O Messenger of Allah! I declared zihar against my wife, and I had intercourse with her before making the expiation." He (peace and blessings be upon him) said: "May Allah have mercy on you! What led you to do that?" He said: "I saw her anklet on a moonlit night." He (peace and blessings be upon him) said: "Do not go near her until you have done what Allah, the Mighty and Majestic, has commanded you."
Imam Abu Dawud, Imam al-Tirmidhi and Imam al-Nasa'i (may Allah have mercy on them) narrated it from al-Husayn bin Hurayth in a similar way.
Imam Abu Dawud (may Allah have mercy on him) also narrated it through Ishaq bin Isma'il al-Taliqani, from Sufyan, from al-Hakam bin Aban, from Ikrimah (may Allah have mercy on him), that a man said (this), and he did not mention Sayyiduna Ibn Abbas (may Allah be pleased with them both).
And through Ziyad bin Ayyub, from Isma'il, from al-Hakam, from Ikrimah (may Allah have mercy on him), from the Prophet (peace and blessings be upon him), something similar.
And through Abu Kamil, from Abd al-Aziz bin al-Mukhtar, from Khalid, who said: "A narrator narrated to me from Ikrimah (may Allah have mercy on him), from the Prophet (peace and blessings be upon him)."
And through Muhammad bin Isa, from Mu'tamir, from al-Hakam, with this chain, and he did not mention Sayyiduna Ibn Abbas (may Allah be pleased with them both).
Imam al-Tirmidhi (may Allah have mercy on him) said: "This hadith is hasan sahih gharib."
Imam al-Nasa'i (may Allah have mercy on him) also narrated it through Muhammad bin Rafi', from Abd al-Razzaq, from Ma'mar, from al-Hakam, from Ikrimah (may Allah have mercy on him), as mursal.
And through Muhammad bin Abd al-A'la, from Mu'tamir bin Sulayman, who said: "I heard al-Hakam say: I heard Ikrimah (may Allah have mercy on him)", (and then) he narrated it likewise as mursal.
Imam al-Nasa'i (may Allah have mercy on him) said: "The mursal narration is closer to being correct than the one with a connected chain (musnad)."
And Imam Ibn Majah (may Allah have mercy on him) narrated it through al-Abbas bin Yazid al-Bahrani, from Ghundar, from Ma'mar, with this chain, as a connected (musnad) narration.