"عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ أَنَّ رَجُلًا قَالَ: يَا نَبِىَّ الله إِنَّ أبِى مَاتَ وَلَمْ يَحُجَ أَفَأحُجّ عَنْهُ؟ فَقَالَ النَّبِىُّ ﷺ : أَرَأيتَ أَن لَوْ كَانَ عَلَى أَبِيكَ دَيْنٌ أَكُنْتَ قَاضِيهُ؟ قَالَ: نَعَمْ، قَالَ: فَحَقُ الله أَحَقُّ".
See similar narrations below:
Collected by Bukhārī, Nasāʾī, Ibn Ḥibbān, Ṭabarānī, Nasāʾī's Kubrá, Suyūṭī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."
أَتَى رَجُلٌ النَّبِيَّ ﷺ فَقَالَ لَهُ إِنَّ أُخْتِي نَذَرَتْ أَنْ تَحُجَّ وَإِنَّهَا مَاتَتْ فَقَالَ النَّبِيُّ ﷺ لَوْ كَانَ عَلَيْهَا دَيْنٌ أَكُنْتَ قَاضِيَهُ قَالَ نَعَمْ قَالَ فَاقْضِ اللَّهَ فَهْوَ أَحَقُّ بِالْقَضَاءِ
"A man said: 'O Messenger of Allah! My father has died and he did not perform Hajj; shall I perform Hajj on his behalf?' He said: 'Don't you think that if your father owed a debt you would pay it off?' The man said: 'Yes.' He said: 'The debt owed to Allah is more deserving (of being paid off)."'
رَجُلٌ يَا رَسُولَ اللَّهِ إِنَّ أَبِي مَاتَ وَلَمْ يَحُجَّ أَفَأَحُجُّ عَنْهُ قَالَ أَرَأَيْتَ لَوْ كَانَ عَلَى أَبِيكَ دَيْنٌ أَكُنْتَ قَاضِيَهُ قَالَ نَعَمْ قَالَ فَدَيْنُ اللَّهِ أَحَقُّ
ذِكْرُ الْإِخْبَارِ عَنْ جَوَازِ حَجِّ الرَّجُلِ عَنِ الْمُتَوَفَّى الَّذِي كَانَ الْفَرْضُ عَلَيْهِ وَاجِبًا
[Machine] A man came to the Prophet ﷺ and said, "My father has passed away and did not perform Hajj. Should I perform Hajj on his behalf?" The Prophet ﷺ replied, "If your father had a debt, would you pay it off?" The man said, "Yes." The Prophet ﷺ then said, "Then perform Hajj on behalf of your father."
أَنْ رَجُلًا أَتَى النَّبِيَّ ﷺ فَقَالَ إِنَّ أَبِي مَاتَ وَلَمْ يَحُجَّ أَفَأَحُجَّ عَنْهُ قَالَ «أَرَأَيْتَ لَوَ كَانَ عَلَى أَبِيكَ دَيْنٌ أَكُنْتَ قَاضِيَهُ» قَالَ نَعَمْ قَالَ «حُجَّ عَنْ أَبِيكَ»
[Machine] A man came to the Prophet ﷺ and said, "My father has passed away without performing the Hajj (pilgrimage). Should I perform it on his behalf?" The Prophet ﷺ asked, "Did your father have any outstanding debts that you have now paid off?" The man replied, "Yes." The Prophet ﷺ said, "Then perform the Hajj on behalf of your father."
أَنَّ رَجُلًا أَتَى النَّبِيَّ ﷺ فَقَالَ إِنَّ أَبِي مَاتَ وَلَمْ يَحُجَّ أَفَأَحُجُّ عَنْهُ؟ قَالَ «أَرَأَيْتَ إِنْ كَانَ عَلَى أَبِيكَ دَيْنٌ فَقَضَيْتَهُ أَقُضِيَ عَنْهُ؟» قَالَ نَعَمْ قَالَ «فَحُجَّ عَنْ أَبِيكَ»
[Machine] A man came to the Prophet ﷺ and said, "Indeed, my father has died and did not perform Hajj. Should I perform Hajj on his behalf?" The Prophet replied, "If your father had a debt, would you pay it off?" The man answered, "Yes." The Prophet then said, "So the debt of Allah is more deserving to be paid off."
جَاءَ رَجُلٌ إِلَى النَّبِيِّ ﷺ فَقَالَ إِنَّ أَبِي مَاتَ وَلَمْ يَحُجَّ أَفَأَحُجُّ عَنْهُ؟ قَالَ «لَوْ كَانَ عَلَى أَبِيكَ دَيْنٌ أَكُنْتَ قَاضِيَهُ؟» قَالَ نَعَمْ قَالَ «فَدَيْنُ اللهِ أَحَقُّ أَنْ يُقْضَى»
[Machine] A man came to the Prophet ﷺ and said, "O Messenger of Allah, my father is old and unable to perform Hajj. Can I perform Hajj on his behalf?" The Prophet replied, "Do you think if your father had a debt, you would pay it off?" The man replied, "Yes." The Prophet then said, "Then perform Hajj on his behalf."
أَتَى النَّبِيَّ ﷺ رَجُلٌ فَقَالَ يَا رَسُولَ اللهِ إِنَّ أَبِي شَيْخٌ كَبِيرٌ لَمْ يَحُجَّ أَفَأَحُجُّ عَنْهُ؟ قَالَ «أَرَأَيْتَ لَوْ كَانَ عَلَى أَبِيكَ دَيْنٌ كُنْتَ قَاضِيَهُ؟» قَالَ نَعَمْ قَالَ «فَحُجَّ عَنْهُ»
"A man said: 'O Messenger of Allah! My father has died and he did not perform Hajj; shall I perform Hajj on his behalf?' He said: 'Don't you think that if your father owed a debt you would pay it off?' The man said: 'Yes.' He said: 'The debt owed to Allah is more deserving (of being paid off)."' (Using translation from Nasāʾī 2639)
قَالَ رَجُلٌ يَا نَبِيَّ اللهِ إِنَّ أَبِي مَاتَ وَلَمْ يَحُجَّ أَفَأَحُجُّ عَنْهُ؟ قَالَ «أَرَأَيْتَ لَوْ كَانَ عَلَى أَبِيكَ دَيْنٌ أَكُنْتَ قَاضِيَهُ؟» قَالَ نَعَمْ قَالَ «فَدَيْنُ اللهِ أَحَقُّ»
"عَنْ عَطَاءٍ، عَنِ ابْنِ عَبَّاسٍ قَالَ: أَتَى رَجُلٌ النَّبِىَّ ﷺ فَقَالَ: إِنَّ أَبِى شَيْخٌ كَبِيرٌ لَمْ يَحُجَّ أَفَأَحُجّ عَنْهُ؟ فَقَالَ: لَوْ كَانَ عَلَى أَبِيكَ دَيْن فَقَضَيْتَهُ عَنْهُ أَكانَ يَجْزِى عَنْهُ؟ قَالَ: نَعَمْ، قَالَ: حُجَّ عَنْهُ".