He does not have any money and he wants to do Hajj on behalf of someone else in return for payment
As-Salaamu-Alaikum wa Rahmatullahi wa Barakatuh. (May Allah's Peace, Mercy and Blessings be upon all of you)
It is not permissible for a man to do Hajj on behalf of someone else before he does Hajj for himself. The basic principle concerning that is the report narrated by Ibn ‘Abbaas (may Allaah be pleased with him) from the Prophet (peace and blessings of Allaah be upon him), who heard a man saying, “Labbayk ‘an Shubrumah (Here I am [O Allaah], on behalf of Shubrumah).” He said, “Have you done Hajj for yourself?” He said, “No.” He said, “Do Hajj for yourself, then on behalf of Shubrumah.” Narrated by Abu Dawood and classed as saheeh by al-Albaani in al-Irwa’, 994.
And Allaah is the Source of strength.