Abdullah bin Abbas reported,

A man came to the Prophet ﷺ and said to him, "My sister vowed to perform Hajj, but she has died."The Prophet ﷺ asked, "If she had a debt, would you pay it off?"He replied, "Yes."The Prophet said, "Then settle the debt owed to Allah, for He has the greater right to be repaid."

Bukhari 6699

Sahih

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

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

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

البخاري 6699صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Oaths and vows
Chapter
One who died while having a vow to fulfill
Numbering
Darussalam 6699
Bukhari 6699