It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:
"A man has more right to his gift so long as he has not gotten something in return for it." (ID)
English reference (ID): Vol. 3, Book 14, Hadith 2387 (ID)
Arabic reference (ID): Book 14, Hadith 2477 (ID)