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.
Sahih al-Bukhari Book 65, Hadith 431