Narrated Ibn 'Abbas:
That the Messenger of Allah (ﷺ) said: Ours is not a bad example: The one who takes back his gift is like the dog who takes back his vomit.
[He said:] On this topic, there is the narration from Ibn 'Umar from the Prophet (ﷺ) that he said: It is not lawful for anyone that has given a gift to take it back, except for a father who gives something to his son.