A:
If the reality is as you have mentioned, it is permissible for you to slaughter the Ud-hiyah and there is no harm in shaving and cutting your hair after the ten days of Dhul-Hijjah began because you
are only a proxy for the person offering the Ud-hiyah. You were offering the Ud-hiyah not for yourself but as a proxy.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.