It is narrated from Sayyiduna Abdullah bin al-Zubayr (may Allah be pleased with them both) that a man came to the Prophet (peace and blessings be upon him) and said: "My father is very old; he has reached (the time of) Islam (he is Muslim), but he cannot sit firmly on the saddle of a mount." He (peace and blessings be upon him) asked: "Are you the eldest of his children?" He said: "Yes." He (peace and blessings be upon him) said: "Tell me, if your father owed a debt and you paid it, would that suffice for him?" He said: "Yes." He (peace and blessings be upon him) said: "Then perform Hajj on behalf of your father."
Imam Ahmad (may Allah have mercy on him) narrated it through Abd al-Rahman from Sufyan, he from Mansur, with the same chain, that the Prophet (peace and blessings be upon him) said to a man: "You are the eldest of your father's children, so perform Hajj on his behalf."
And Ahmad bin Mani' (may Allah have mercy on him) also narrated it.
And Imam al-Nasa'i (may Allah have mercy on him) narrated it from Ishaq bin Ibrahim, he from Jarir (that is, Ya'qub bin Ibrahim), he from Abdullah, he from Sufyan, he from Mansur, as Imam Ahmad (may Allah have mercy on him) narrated it through Abd al-Rahman, but in abridged form.
It has a supporting narration (shahid) in the two Sahihs, in the hadith that Sulayman bin Yasar (may Allah have mercy on him) narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both), about the woman who asked the Prophet (peace and blessings be upon him) for a ruling, and he (peace and blessings be upon him) ordered her to perform Hajj on behalf of her father.