From Sahih Muslim (Hadith 3676):
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
Reference: Muslim 3676