It is narrated from Ibn Abbas (may Allah be pleased with them both) that a woman from the tribe of Khath'am asked the Prophet ﷺ a question. She said: "The obligation of Hajj, which Allah has made upon His servants, has reached my elderly father, but he does not have the strength to sit on a mount. What do you think—can I perform Hajj on his behalf?" The Prophet ﷺ replied: "Yes." Sufyan said: I have remembered it from Zuhri in this way.
Hadith Referenceمسند الإمام الشافعي / كتاب الحج / 927
Hadith Takhrijاخرجه البخاري، الحج، باب وجوب الحج وفضله..... الخ (1513) ، (1855) ۔ ومسلم، الحج، باب الحج عن العاجز لزمانة وهرم ونحوهما أو للموت (1334)۔