A:
It is Haram (prohibited)
to make vows to others besides Allah (Exalted be He) for the Prophet (peace be upon him) cursed whomever sacrifices to anyone other than Allah. He (peace be upon him) said:
... Whoever makes a vow that they will disobey Allah, should not disobey Him.
Accordingly, it is impermissible to fulfill the vow which is mentioned in the question, or that you make any vow in the future to others besides Allah. A vow is a form of `Ibadah (worship) just like Prayer (Salah), slaughtering. Etc., which is impermissible to offer to anyone except Allah Alone. Therefore, you must (Part No. 23; Page No. 237) offer Tawbah (repentance to Allah) regarding the vow that you made to this sheikh.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.