Abdullah bin Abbas reported,

The Prophet ﷺ reported that a woman came to him and said, "My mother has died, and she owed the fast of the month of Ramadan. Should I make it up on her behalf?"He asked, "Tell me, if she had owed a debt, would you have paid it for her?"She replied, "Yes."He said, "Then the debt owed to Allah عز وجل is even more deserving of being paid."

Ahmad 3420

Sahih

حدثنا ابن نمير حدثنا الأعمش عن مسلم البطين عن سعيد بن جبير

عن ابن عباس

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

أحمد 3420صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Abbas bin Abdul-Muttalib
Numbering
Darussalam 3420
Ahmad 3420