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."
Sahih al-Bukhari Book 51, Hadith 54