It is narrated from Abu Ghatfan bin Tarif that Sayyiduna Umar bin Khattab (may Allah be pleased with him) said: Whoever gives a gift to a relative for the sake of maintaining family ties, or as charity for the sake of reward, then he cannot take it back. And whoever gives a gift in exchange for something, then he can take it back if he becomes displeased.