Sayyiduna Ibn Umar and Ibn Abbas (may Allah be pleased with them both) said that the Messenger of Allah (peace and blessings be upon him) said: "It is not lawful for a man to give a gift and then take it back, except a father with regard to what he gives his child. The likeness of one who gives a gift and then takes it back is that of a dog which eats until, when it is full, it vomits, and then returns to it."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الهبات / 12016