Hadith 2474
Sayyiduna Ibn Abbas (may Allah be pleased with them both) narrates that the Messenger of Allah (peace and blessings be upon him) said: "The example of the one who gives charity and then takes it back is like that of a dog who vomits and then licks up its vomit."
Hadith 2475
A narration similar to the above is reported from the Messenger of Allah (ﷺ) by Sayyiduna Ibn Abbas (may Allah be pleased with them both).