Sayyiduna Abdullah bin Abbas (may Allah be pleased with them) narrates that the Prophet Muhammad (peace and blessings be upon him) said: "The example of a person who gives charity and then takes it back is like that of a dog who vomits and then returns to eat its vomit."
Hadith Referenceصحیح ابن حبان / كتاب الهبة / 5122
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - المصدر نفسه: ق.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط البخاري