Maliks Muwatta Book 20, Hadith Number 164.

Section : Intercourse with One’s Wife Before Doing the Tawaf al-Ifada.

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.