Mishkat al-Masabih

He told of a man coming to the Prophet (ﷺ) and saying that his sister had taken a vow to make the pilgrimage, but had died. The Prophet (ﷺ) asked whether he would pay a debt, supposing she owed one, and when he replied that he would, he said, “Well, pay the debt due to God, for it is the one which most deserves to be paid.” Bukhari and Muslim.

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