A:
You should
adhere to do what you have been deputized to do and distribute the money among the poor instead of buying them goods because you have not been deputized to do so. You should repay to the poor people the money with which you bought the goods so as to do what you were deputized to do and also to not be guilty in the sight of Allah (Exalted be He). May Allah reward you for what you have done. May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.