Q: I know of
four deceased people; uncles and grandparents and men and women; and I do not know all of their names. (Part No. 11; Page No. 172) I want to perform Hajj on their behalf
at my expense.
If the situation is as you have mentioned, then there is no harm in performing Hajj on behalf of the men and women whose names are known to you. As for those whose names are not known to you, you may intend to perform Hajj on behalf of uncles and grandparents, and men and women according to their ages and description. Making the intention to perform that is enough even if you do not know their names. Allah knows best.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.