Is it permissible for me to perform Hajj on behalf of my grandfather?
It should be noted that I was born after his death, and therefore I do not know if Hajj was obligatory upon him or not, but he died without performing it.
(Part No. 11; Page No. 77)
It is permissible for you to perform Hajj for your late grandfather, as long as you have performed it for yourself.