"أرأيتَ لو على كان أمِّك دَينٌ أَكُنْتَ قاضِيَه عنها؟ قال: نَعْم، قال: فدين الله أحقُّ أن يُقْضَى".
See similar narrations below:
Collected by Nasāʾī, Abū Dāwūd, Aḥmad, Ṭabarānī, Nasāʾī's Kubrá, Suyūṭī"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)."'
رَجُلٌ يَا رَسُولَ اللَّهِ إِنَّ أَبِي مَاتَ وَلَمْ يَحُجَّ أَفَأَحُجُّ عَنْهُ قَالَ أَرَأَيْتَ لَوْ كَانَ عَلَى أَبِيكَ دَيْنٌ أَكُنْتَ قَاضِيَهُ قَالَ نَعَمْ قَالَ فَدَيْنُ اللَّهِ أَحَقُّ
A woman came to the Prophet ﷺ and said (to him) that one month's fast was due from her mother who had died. May I fulfill them on her behalf? He asked: Suppose some debt was due from your mother, would you pay it ? She replied: Yes. He said: So the debt due to Allah is the one which most deserves to be paid.
أَنَّ امْرَأَةً جَاءَتْ إِلَى النَّبِيِّ ﷺ فَقَالَتْ إِنَّهُ كَانَ عَلَى أُمِّهَا صَوْمُ شَهْرٍ أَفَأَقْضِيهِ عَنْهَا فَقَالَ لَوْ كَانَ عَلَى أُمِّكِ دَيْنٌ أَكُنْتِ قَاضِيَتَهُ قَالَتْ نَعَمْ قَالَ فَدَيْنُ اللَّهِ أَحَقُّ أَنْ يُقْضَى
A woman came to the Prophet ﷺ and said (to him) that one month's fast was due from her mother who had died. May I fulfill them on her behalf? He asked: Suppose some debt was due from your mother, would you pay it ? She replied: Yes. He said: So the debt due to Allah is the one which most deserves to be paid. (Using translation from Abū Dāʾūd 3310)
جَاءَ رَجُلٌ إِلَى النَّبِيِّ ﷺ فَقَالَ يَا رَسُولَ اللهِ إِنَّ أُمِّي مَاتَتْ وَعَلَيْهَا صَوْمُ شَهْرٍ أَفَأَقْضِيهِ عَنْهَا؟ فَقَالَ لَوْ كَانَ عَلَى أُمِّكَ دَيْنٌ أَكُنْتَ قَاضِيَهُ عَنْهَا؟ قَالَ نَعَمْ قَالَ فَدَيْنُ اللهِ أَحَقُّ أَنْ يُقْضَى
[Machine] A man came to the Prophet ﷺ and said, "O Messenger of Allah, my mother had an obligation of fasting for a month and she passed away." The Prophet ﷺ said, "Would you not have fulfilled her debt if she owed someone money?" He replied, "Yes." The Prophet ﷺ said, "Then the debt of Allah deserves to be fulfilled even more."
جَاءَ رَجُلٌ إِلَى النَّبِيِّ ﷺ فَقَالَ يَا رَسُولُ اللهِ إِنَّ أُمِّي جَعَلَتْ عَلَيْهَا صَوْمَ شَهْرٍ وَإِنَّهَا مَاتَتْ فَقَالَ النَّبِيُّ ﷺ «أَرَأَيْتَ لَوْ كَانَ عَلَيْهَا دَيْنٌ كُنْتَ تَقْضِيهِ؟» قَالَ نَعَمْ قَالَ «فَدَيْنُ اللهِ أَحَقُّ أَنْ يُقْضَى»
[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] "O Messenger of Allah, my sister vowed to perform Hajj but she passed away before she could fulfill her vow. He said, "Do you think if your sister had a debt, would you pay it off?" He said, "Yes." He said, "So the debt owed to Allah is more deserving to be paid off for your sister's Hajj."
يَا رَسُولَ اللهِ إِنَّ أُخْتِي نَذَرَتْ أَنْ تَحُجَّ وَمَاتَتْ وَلَمْ تَحُجَّ قَالَ «أَرَأَيْتَ لَوْ كَانَ عَلَى أُخْتِكَ دَيْنٌ أَكُنْتَ تَقْضِيهِ؟» قَالَ نَعَمْ قَالَ «فَدَيْنُ اللهِ أَحَقُّ أَنْ يُقْضَى حُجَّ عَنْ أُخْتِكَ»
"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)
قَالَ رَجُلٌ يَا نَبِيَّ اللهِ إِنَّ أَبِي مَاتَ وَلَمْ يَحُجَّ أَفَأَحُجُّ عَنْهُ؟ قَالَ «أَرَأَيْتَ لَوْ كَانَ عَلَى أَبِيكَ دَيْنٌ أَكُنْتَ قَاضِيَهُ؟» قَالَ نَعَمْ قَالَ «فَدَيْنُ اللهِ أَحَقُّ»
A woman came to the Messenger of Allah ﷺ and said: My mother has died, and fasts of a month are due from her. Thereupon he said: Don't you see that if debt was due from her, would you not pay it? She said: Yes (I would pay on her behalf). Thereupon he said: The debt of Allah deserves its payment more than (the payment of anyone else). (Using translation from Muslim 1148a)
جَاءَ رَجُلٌ إِلَى النَّبِيِّ ﷺ فَقَالَ إِنَّ أُمِّي مَاتَتْ وَعَلَيْهَا صَوْمُ شَهْرٍ أَفَأَصُومُ عَنْهَا؟ فَقَالَ «أَرَأَيْتَ لَوْ كَانَ عَلَيْهَا دَيْنٌ أَكُنْتَ تَقْضِيهِ؟» قَالَ نَعَمْ قَالَ «فَدَيْنُ اللهِ أَحَقُّ أَنْ يُقْضَى»
A woman came to the Prophet ﷺ and said (to him) that one month's fast was due from her mother who had died. May I fulfill them on her behalf? He asked: Suppose some debt was due from your mother, would you pay it ? She replied: Yes. He said: So the debt due to Allah is the one which most deserves to be paid. (Using translation from Abū Dāʾūd 3310)
عَنِ النَّبِيِّ ﷺ أَنَّهُ أَتَتْهُ امْرَأَةٌ فَقَالَتْ إِنَّ أُمِّي مَاتَتْ وَعَلَيْهَا صَوْمُ شَهْرٍ أَفَأَقْضِيهِ عَنْهَا؟ قَالَ «أَرَأَيْتِ لَوْ كَانَ عَلَيْهَا دَيْنٌ أَكُنْتِ تَقْضِينَهُ؟» قَالَتْ نَعَمْ قَالَ «فَدَيْنُ اللهِ أَحَقُّ أَنْ يُقْضَى»
"أَرأيتَ لو كَان على أبيك دينٌ أكنْت قاضيه؟ قال: نعم، قال: فدين الله أحقُّ أَن يُقْضى ".