A Muslim died in a Muslim land other than
the Kingdom of Saudi Arabia,
but he had not performed Hajj even though it was obligatory on him. Is it permissible for me to perform Hajj on his behalf
from the Kingdom, as I live here? Is there a difference between the Thawab (reward from Allah) for performing Hajj from a country that is far away and one that is near?
It is permissible for you to perform Hajj from
the Kingdom on behalf of any Muslim, whether they died in their country or another one, and whether they have performed Hajj or not. The difference between the distances you mentioned has no effect; rather the reward will be according to the sincerity, expenditure, exertion, and keenness on fulfilling the requirements of the Shari‘ah (Islamic law).May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.