USC-MSA web (English) : Book 20, Hadith 160
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، أَنَّهُ بَلَغَهُ أَنَّ عُمَرَ بْنَ الْخَطَّابِ، وَعَلِيَّ بْنَ أَبِي طَالِبٍ، وَأَبَا، هُرَيْرَةَ سُئِلُوا عَنْ رَجُلٍ، أَصَابَ أَهْلَهُ وَهُوَ مُحْرِمٌ بِالْحَجِّ فَقَالُوا يَنْفُذَانِ يَمْضِيَانِ لِوَجْهِهِمَا حَتَّى يَقْضِيَا حَجَّهُمَا ثُمَّ عَلَيْهِمَا حَجُّ قَابِلٍ وَالْهَدْىُ . قَالَ وَقَالَ عَلِيُّ بْنُ أَبِي طَالِبٍ وَإِذَا أَهَلاَّ بِالْحَجِّ مِنْ عَامٍ قَابِلٍ تَفَرَّقَا حَتَّى يَقْضِيَا حَجَّهُمَا .
Yahya related to me from Malik that he had heard that Umar ibn al-Khattab and AIi ibn Abi Talib and Abu Hurayra were asked about a man who had intercourse with his wife while he was in ihram on hajj. They said, "The two of them should carry on and complete their hajj. Then they must do hajj again in another year, and sacrifice an animal." Malik added that AIi ibn Abi Talib said, "When they then go into ihram for hajj in a future year they should keep apart until they have completed their hajj."
Full reference and source
USC-MSA web (English) : Book 20, Hadith 160 Arabic : Book 20, Hadith 862
View source on Sunnah.com (opens in a new tab)