Abdullah bin Abbas reported,

The wife of Sinan bin Salama al-Juhani instructed him to ask the Messenger of Allah ﷺ about her mother, who had died without performing the pilgrimage. Would it be valid for her to perform the pilgrimage on her mother's behalf?He replied, "Yes. If her mother had owed a debt and she paid it off on her behalf, would that not be valid? So let her perform the pilgrimage on her mother's behalf."

Nasai 2634

Sahih

أخبرنا عمران بن موسى قال حدثنا عبد الوارث قال حدثنا أبو التياح قال حدثني موسى بن سلمة الهذلي أن

ابن عباس قال

أمرت امرأة سنان بن سلمة الجهني أن يسأل رسول الله ﷺ أن أمها ماتت ولم تحج أفيجزئ عن أمها أن تحج عنها قال نعم لو كان على أمها دين فقضته عنها ألم يكن يجزئ عنها فلتحج عن أمها

النسائي 2634صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Rituals of Hajj
Chapter
Hajj on behalf of the deceased who did not perform Hajj
Numbering
Darussalam 2634
Nasai 2634