The Messenger of Allah ﷺ said, "The one who takes back his gift is like a dog that vomits and then returns to its vomit."
أخبرنا محمد بن عبد الله الخلنجي المقدسي قال حدثنا أبو سعيد وهو مولى بني هاشم عن وهيب قال حدثنا ابن طاوس عن أبيه
قال رسول الله ﷺ العائد في هبته كالكلب يقيء ثم يعود في قيئه
Bukhari transmitted it in the Book of Gifts, chapter, A man's gift to his wife and a woman's gift to her husband, no. 2589, and Muslim in the Book of Gifts, chapter, The prohibition of taking back a gift after it has been received, except what one gives to one's child or further descendant, no. 1622, from the hadith of Waheeb bin Khalid with the same wording, and it is also found in Kubra, no. 6521.