Abdullah bin Abbas reported,

A man came to the Prophet ﷺ and asked, "My father is an elderly man. May I perform Hajj on his behalf?"He replied, "Yes. Tell me, if your father had a debt and you paid it off, would that not satisfy it on his behalf?"

Nasai 5398

Sahih

أخبرنا محمد بن معمر قال حدثنا أبو عاصم عن زكريا بن إسحق عن عمرو بن دينار عن أبي الشعثاء

عن ابن عباس

أن رجلا جاء إلى النبي ﷺ فقال إن أبي شيخ كبير أفأحج عنه قال نعم أرأيت لو كان عليه دين فقضيته أكان يجزئ عنه

النسائي 5398صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Etiquette of judges
Chapter
Difference of opinion regarding Yahya bin Abu Ishaq concerning it
Numbering
Darussalam 5398
Nasai 5398