Abdullah bin Abbas reported,

A woman said, "Messenger of Allah, my mother had to fast for a month, but she died. Should I fast on her behalf?"He replied, "If your mother owed a debt, would you pay it for her?"She said, "Yes."He said, "Then a debt owed to Allah عز وجل is even more deserving of being paid."

Ahmad 2005

Sahih

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

عن ابن عباس

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

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