Ibn ‘Umar and Ibn ‘Abbas reported the Prophet as saying, “It is not lawful for a man to give a gift and then take it back, except a father regarding what he gives his child. One who gives a gift and then takes it back is like a dog which eats and vomits when it is full, then returns to its vomit."
Abu Dawud, Tirmidhi, Nasa’i and Ibn Majah transmitted it, Tirmidhi saying it is sahih.