A grantor buying the grant from other than the receiver of the grant
A:
It is permissible
to purchase the gift in the case you have mentioned, because the gift giver did not buy it from the gift receiver. May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.