Sahih al-Bukhari 1852
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
نَعَمْ. حُجِّي عَنْهَا، أَرَأَيْتِ لَوْ كَانَ عَلَى أُمِّكِ دَيْنٌ أَكُنْتِ قَاضِيَةً اقْضُوا اللَّهَ، فَاللَّهُ أَحَقُّ بِالْوَفَاءِ "
Narrated Ibn `Abbas:
A woman from the tribe of Juhaina came to the Prophet (ﷺ) and said, "My mother had vowed to perform Hajj but she died before performing it. May I perform Hajj on my mother's behalf?" The Prophet (ﷺ) replied, "Perform Hajj on her behalf. Had there been a debt on your mother, would you have paid it or not? So, pay Allah's debt as He has more right to be paid."
Full reference and source
Sahih al-Bukhari 1852 In-book : Book 28, Hadith 32 USC-MSA web (English) : Vol. 3, Book 29, Hadith 77 (deprecated)
View source on Sunnah.com (opens in a new tab)