BUKHARI 6699: from Ibn ʿAbbās —
A man came to the Prophet ﷺ and said to him, "My sister vowed to perform the Hajj, but she died (before fulfilling it)." The Prophet ﷺ said, "Would you not have paid her debts if she had any?" The man said, "Yes." The Prophet ﷺ said, "So pay Allah's Rights, as He is more entitled to receive His rights."

البخاري ٦٦٩٩: عن ابن عباس —
أَتَى رَجُلٌ النَّبِيَّ ﷺ فَقَالَ لَهُ إِنَّ أُخْتِي نَذَرَتْ أَنْ تَحُجَّ وَإِنَّهَا مَاتَتْ فَقَالَ النَّبِيُّ ﷺ لَوْ كَانَ عَلَيْهَا دَيْنٌ أَكُنْتَ قَاضِيَهُ قَالَ نَعَمْ قَالَ فَاقْضِ اللَّهَ فَهْوَ أَحَقُّ بِالْقَضَاءِ


Sound (Bukhārī)
Bukhārī > Oaths and Vows > § If somebody dies without fulfiling a vow
hadithunlocked.com