Abu Ghatafan (may Allah have mercy on him) narrates from Marwan bin al-Hakam that Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) said: Whoever gives a gift to uphold ties of kinship, or by way of charity, should not take it back. And whoever gives a gift intending to be given something in return, he keeps his claim on his gift and may take it back if he is not satisfied (with the return).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الهبات / 12028