It was narrated from Ibn 'Abbas and Ibn 'Umar, who attributed the Hadith to the Prophet (ﷺ) that he said:
"It is not permissible for a man to give a gift then take it back, except what a father gives to his child." (IT)
English reference (IT): Vol. 3, Book 14, Hadith 2377 (IT)
Arabic reference (IT): Book 14, Hadith 2467 (IT)