This tradition has been transmitted by Abu Hurairah from the Prophet (ﷺ). This version has:
He said each time: He should give her the appropriate beating according to Allah's Book, but not Hurl reproaches at her. He said a fourth time: If she does it again, he should give her the appropriate beating according to Allah's Book, and then should sell her even if only for a rope of hair.
Reference: Sunan Abi Dawud 4471 In-book : Book 40, Hadith 121 English translation : Book 39, Hadith 4456
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.