Abdullah bin Abbas reported,

A woman came to the Prophet ﷺ and said, "Messenger of Allah, my sister has died and she owed a fast of two consecutive months."He replied, "Tell me, if your sister had a debt, would you pay it off for her?"She said, "Yes."He said, "Then the debt owed to Allah is even more deserving of being paid."

Ibn Majah 1758

Sahih

حدثنا عبد الله بن سعيد حدثنا أبو خالد الأحمر عن الأعمش عن مسلم البطين والحكم وسلمة بن كهيل عن سعيد بن جبير وعطاء ومجاهد

عن ابن عباس قال

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

ابن ماجه 1758صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Fasting
Chapter
One who died while still owing fasting from a vow
Numbering
Darussalam 1758
Ibn Majah 1758