I know that it is appropriate to perform the pilgrimage or the Umrah on behalf of a relative who is dead, but is it permissible to offer either of these duties on behalf of a person who is alive, as many expatriates do?

Substitute pilgrimage may be offered on behalf of relatives who died without having fulfilled this duty. The same applies to the Umrah. The Prophet, peace be upon him, was asked whether one may offer the pilgrimage on behalf of a deceased parent and he said that this should be done. Similarly, if a relative is too ill to be able to do the journey, it is valid if someone else offers the pilgrimage on his behalf. This could be a relative who performs the substitute pilgrimage voluntarily, or the person himself may hire a man or a woman to do the pilgrimage for him, paying all the expenses of the person hired for the purpose. The only condition is that such deputy should have done his own pilgrimage first.

There are several Hadiths that confirm this. A woman told the Prophet, peace be upon him, that her father was too weak to be able to sit on the back of his camel. Could she offer the pilgrimage on his behalf? The Prophet, peace be upon him, told her to do so. Another Hadith mentions that when the Prophet, peace be upon him, was traveling for his own pilgrimage with many thousands of his companions, he heard someone declare that he was doing the pilgrimage on behalf of a man called Shibrimah. The Prophet, peace be upon him, asked him who Shibrimah was. The man said: “He is a brother of mine.” The Prophet, peace be upon him, asked him whether he had done the pilgrimage already. The man answered in the negative. The Prophet, peace be upon him, said to him: “Then offer the pilgrimage on your own behalf first, then you may offer it on behalf of Shibrimah.”

Some well-meaning expatriates feel that they should take the opportunity and save their relatives the trouble and expense of doing the pilgrimage or the Umrah by doing these duties on their behalf. Or they may do so because they know that their relatives are too poor to be able to afford the journey. This is not right, because if a person cannot afford the journey, he does not meet the condition that makes the pilgrimage a binding duty for him or her. This duty is conditional on one being able to undertake the journey, both physically and financially. If one does not meet this condition, he is exempt from doing it. If the relative concerned is one’s own parent, it is infinitely better to arrange for one’s parents to come over and do the pilgrimage themselves. If one cannot do that, he may pray for them in the Haram. If neither he nor they can afford the expenses, he may do the pilgrimage on their behalf as an act of dutifulness, knowing that it is not binding on them. He will be richly rewarded for that, God willing. But he need not go further and do the pilgrimage or the Umrah on behalf of other relatives who are similarly placed, because they are not required to do it themselves.