Al-Kāfi - Volume 7 > The Matters Permissible in Endowment, Charity, Gift, Present, Providing Conditional Housing and Matters Permissible or otherwise for a Child and others
Hadith #14

14- عِدَّةٌ مِنْ أَصْحَابِنَا عَنْ أَحْمَدَ بْنِ أَبِي عَبْدِ اللهِ عَنْ عُثْمَانَ بْنِ عِيسَى عَنْ سَمَاعَةَ قَالَ سَأَلْتُ أَبَا عَبْدِ اللهِ (عَلَيْهِ السَّلام) عَنْ رَجُلٍ تَصَدَّقَ بِصَدَقَةٍ عَلَى حَمِيمٍ أَيَصْلُحُ لَهُ أَنْ يَرْجِعَ فِيهَا قَالَ لا وَلَكِنْ إِنِ احْتَاجَ فَلْيَأْخُذْ مِنْ حَمِيمِهِ مِنْ غَيْرِ مَا تَصَدَّقَ بِهِ عَلَيْهِ.

14. A number of our people have narrated from Ahmad ibn abu ‘Abd Allah from ‘Uthman ibn ‘Isa from Sama‘ah who has narrated the following: “I once asked abu ‘Abd Allah, ‘Alayhi al-Salam, about the case of a man who gives a certain amount of charity to his friend; if he can change his mind and take it back from him. He (the Imam) said, ‘No, he cannot do so but if he needs he can take from other assets of his friend which is other than what he had given as charity to him.’”