It was the practice of the Prophet (peace and blessings be upon him): "He (peace and blessings be upon him) would accept a gift and give something in return for it."