It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that a woman asked the Messenger of Allah (peace and blessings be upon him) about her father, who had died without performing Hajj. He (peace and blessings be upon him) said: "Perform Hajj on behalf of your father."
Hadith Referenceالمعجم الكبير للطبراني / باب الفاء / 15818