The Prophet (ﷺ) said, "The one who takes back his gift is like a dog swallowing its own vomit, and we (believers) should not act according to this bad example."
Sahih al-Bukhari Book 90, Hadith 22