A deputized person in Hajj facing shortage or surplus of funds

A: Muslims should fulfill the conditions they agree upon. If the two parties agree that the deputy should return any surplus money and that the deputizer should cover any shortfalls, they should both fulfill their obligations. (Part No. 11; Page No. 60) However, if they do not agree on any conditions, the deputized person may keep any surplus and has to cover any shortfalls. As for the reward from Allah, they will be rewarded, if Allah wills, as long as they take the money with good intentions and do their duty.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.