Sunan Abi Dawud, Book 13, Hadith 20 (Abu Dawud 2195)

Narrated AbuHurayrah:

The Prophet (ﷺ) said: There are three things which, whether undertaken seriously or in jest, are treated as serious: Marriage, divorce and taking back a wife (after a divorce which is not final)