The Messenger of Allah ﷺ said, "It is not permissible for anyone to give a gift and then take it back, except for a father with regard to what he gives his child. The one who gives a gift and then takes it back is like a dog that eats until it is full, then vomits, then returns to its vomit."
أخبرنا عبد الرحمن بن محمد بن سلام قال حدثنا إسحق الأزرق قال حدثنا به حسين المعلم عن عمرو بن شعيب عن طاوس
قال رسول الله ﷺ لا يحل لأحد أن يعطي العطية فيرجع فيها إلا الوالد فيما يعطي ولده ومثل الذي يعطي العطية فيرجع فيها كالكلب يأكل حتى إذا شبع قاء ثم عاد فرجع في قيئه