The Prophet ﷺ said: It is not lawful for a man to make a donation or 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. (Using translation from Abū Dāʾūd 3539)
عَنِ النَّبِيِّ ﷺ أَحْسَبُهُ قَالَ «لَا يَحِلُّ» لَمْ يَشُكَّ حُسَيْنٌ مِنَ الْحَدِيثِ إِلَّا فِي يَحِلُّ أَنْ يُعْطِيَ عَطِيَّةً ثُمَّ يَرْجِعُ فِيهَا إِلَّا الْوَالِدُ فِيمَا يُعْطِي وَلَدَهُ وَمَثَلُ الَّذِي يُعْطِي عَطِيَّةً ثُمَّ يَرْجِعُ فِيهَا كَمَثَلِ الْكَلْبِ أَكَلَ حَتَّى إِذَا شَبِعَ قَاءَ ثُمَّ عَادَ فِي قَيْئِهِ