Yahya related to me from Malik from Abu'z-Zubayr al-Makki from
Ata ibn Abi Rabah that Abdullah ibn Abbas was asked about a man who
had had intercourse with his wife while at Mina before he had done the
tawaf al-ifada, and he told him to sacrifice an animal.
Muwatta Malik Book 20, Hadith 167