Sahih al-Bukhari
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا مُعَاذُ بْنُ فَضَالَةَ، حَدَّثَنَا هِشَامٌ، عَنْ يَحْيَى، عَنِ ابْنِ حَكِيمٍ، عَنْ سَعِيدِ بْنِ جُبَيْرٍ، أَنَّ ابْنَ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ فِي الْحَرَامِ يُكَفِّرُ. وَقَالَ ابْنُ عَبَّاسٍ {لَقَدْ كَانَ لَكُمْ فِي رَسُولِ اللَّهِ إِسْوَةٌ حَسَنَةٌ}.
Narrated Ibn `Abbas:
If someone says to his wife, "You are unlawful to me." he must make an expiation (for his oath). Ibn `Abbas added: There is for you in Allah's Messenger (ﷺ), an excellent example to follow.
Full reference and source
Sahih al-Bukhari USC-MSA web (English) : Vol. 6, Book 60, Hadith 433 Arabic : Book 65, Hadith 4911
View source on Sunnah.com (opens in a new tab)