[Machine] A man from among us passed away, so we went to the Prophet ﷺ to offer the prayer for him. The Prophet asked, "Did he leave anything behind?" They replied, "No, by Allah, he did not leave anything behind." The Prophet then asked, "Did he have any debts?" They replied, "Yes, he owed eighteen dirhams." The Prophet then asked, "Did he leave anything to fulfill his debts?" They replied, "No, by Allah, he did not leave anything to fulfill his debts." The Prophet said, "Then you pray for him." Abu Qatada asked, "O Messenger of Allah, what if I settle his debts, should I pray for him?" The Prophet answered, "If you settle his debts, then you may pray for him." Abu Qatada settled the man's debts and asked the Prophet, "Have I fulfilled what was upon him?" The Prophet replied, "Yes." Then he called for the man and offered the prayer for him.
تُوُفِّيَ رَجُلٌ مِنَّا فَأَتَيْنَا النَّبِيَّ ﷺ لِيُصَلِّيَ عَلَيْهِ قَالَ هَلْ تَرَكَ مِنْ شَيْءٍ؟ قَالُوا لَا وَاللهِ مَا تَرَكَ مِنْ شَيْءٍ قَالَ فَهَلْ تَرَكَ عَلَيْهِ مِنْ دَيْنٍ؟ قَالُوا نَعَمْ ثَمَانِيَةَ عَشَرَ دِرْهَمًا قَالَ فَهَلْ تَرَكَ لَهَا قَضَاءً؟ قَالُوا لَا وَاللهِ مَا تَرَكَ لَهَا مِنْ شَيْءٍ قَالَ فَصَلُّوا أَنْتُمْ عَلَيْهِ قَالَ أَبُو قَتَادَةَ يَا رَسُولَ اللهِ أَرَأَيْتَ إِنْ قَضَيْتُ عَنْهُ أَتُصَلِّي عَلَيْهِ؟ قَالَ إِنْ قَضَيْتَ عَنْهُ بِالْوَفَاءِ صَلَّيْتُ عَلَيْهِ قَالَ فَذَهَبَ أَبُو قَتَادَةَ فَقَضَى عَنْهُ فَقَالَ أَوْفَيْتَ مَا عَلَيْهِ؟ قَالَ نَعَمْ فَدَعَا بِهِ رَسُولُ اللهِ ﷺفَصَلَّى عَلَيْهِ