Sahih Muslim 1473 a
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وَحَدَّثَنَا زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا إِسْمَاعِيلُ بْنُ إِبْرَاهِيمَ، عَنْ هِشَامٍ، - يَعْنِي الدَّسْتَوَائِيَّ - قَالَ كَتَبَ إِلَىَّ يَحْيَى بْنُ أَبِي كَثِيرٍ يُحَدِّثُ عَنْ يَعْلَى بْنِ حَكِيمٍ عَنْ سَعِيدِ بْنِ جُبَيْرٍ عَنِ ابْنِ عَبَّاسٍ أَنَّهُ كَانَ يَقُولُ فِي الْحَرَامِ يَمِينٌ يُكَفِّرُهَا . وَقَالَ ابْنُ عَبَّاسٍ { لَقَدْ كَانَ لَكُمْ فِي رَسُولِ اللَّهِ أُسْوَةٌ حَسَنَةٌ} .
Ibn Abbas (Allah be pleased with them) reported about (declaring of one's woman) unlawful as an oath which must be atoned, and Ibn 'Abbas said:
Verily, there is in the Messenger of Allah (ﷺ) a model pattern for you.
Full reference and source
Sahih Muslim 1473 a In-book : Book 18, Hadith 25 USC-MSA web (English) : Book 9, Hadith 3494 (deprecated)
View source on Sunnah.com (opens in a new tab)