USC-MSA web (English) : Book 20, Hadith 249
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 from Ayyub ibn Abi Tamima as- Sakhtayani from Said ibn Jubayr that Abdullah ibn Abbas said, "If someone forgets anything of the rituals or omits them intentionally, he must slaughter an animal." Ayyub added "I do not know if he said 'Omits' or 'forgets'." Malik said, "If it is a hady that has to be slaughtered it may only be done in Makka, but if it is a sacrifice, it may be slaughtered wherever the one who owes the sacrifice prefers."
Full reference and source
USC-MSA web (English) : Book 20, Hadith 249 Arabic : Book 20, Hadith 946
View source on Sunnah.com (opens in a new tab)