Sahih al-Bukhari, Book 51, Hadith 54 (Bukhari 2517)

Narrated Ibn `Abbas:

The Prophet (ﷺ) said, "The bad example is not for us. He who takes back his present is like a dog that swallows back its vomit."