Abdullah bin Abbas reported,

A woman came to the Messenger of Allah ﷺ and said, "Messenger of Allah, my mother has died and she had a vow of fasting upon her. Should I fast on her behalf?"He replied, "Tell me, if your mother had a debt and you paid it off, would that settle it for her?"She said, "Yes."He said, "Then fast on behalf of your mother."

Muslim 2696

Sahih

و حدثنا إسحق بن منصور وابن أبي خلف وعبد بن حميد جميعا عن زكرياء بن عدي قال عبد حدثني زكرياء بن عدي أخبرنا عبيد الله بن عمرو عن زيد بن أبي أنيسة حدثنا الحكم بن عتيبة عن سعيد بن جبير

عن ابن عباس رضي الله عنهما قال

جاءت امرأة إلى رسول الله ﷺ فقالت يا رسول الله إن أمي ماتت وعليها صوم نذر أفأصوم عنها قال أرأيت لو كان على أمك دين فقضيتيه أكان يؤدي ذلك عنها قالت نعم قال فصومي عن أمك

مسلم 2696صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Fasting
Chapter
Fulfilling fasting on behalf of the deceased
Numbering
Darussalam 2696
Muslim 2696