AHMAD 16527:
from Salamah b. al-Akwaʿ —
[Machine] I was with the Prophet ﷺ when a funeral came and they said, "O Messenger of Allah, pray upon him." He said, "Did he leave anything?" They said, "No." He asked, "Did he leave any debts?" They said, "No." So, he prayed for him. Then, another funeral came after that, and he asked, "Did he leave any debts?" They said, "No." He asked, "Did he leave anything?" They said, "Three dinars." He said, "Three kiyats." Then, the third funeral came, and he asked, "Did he leave any debts?" They said, "Yes." He asked, "Did he leave anything?" They said, "No." He said, "Pray upon your companion." Then, a man from the Ansar called Abu Qatadah said, "O Messenger of Allah, his debt is upon me." So, he prayed upon him.
أحمد ١٦٥٢٧:
عن سلمه بن الاكوع —
كُنْتُ مَعَ النَّبِيِّ ﷺ فَأُتِيَ بِجِنَازَةٍ فَقَالُوا يَا نَبِيَّ اللهِ صَلِّ عَلَيْهَا قَالَ هَلْ تَرَكَ شَيْئًا؟ قَالُوا لَا قَالَ هَلْ تَرَكَ عَلَيْهِ دَيْنًا؟ قَالُوا لَا فَصَلَّى عَلَيْهِ ثُمَّ أُتِيَ بِجَنَازَةٍ بَعْدَ ذَلِكَ فَقَالَ هَلْ تَرَكَ عَلَيْهِ مِنْ دَيْنٍ؟ قَالُوا لَا قَالَ هَلْ تَرَكَ مِنْ شَيْءٍ؟ قَالُوا ثَلَاثَ دَنَانِيرَ قَالَ ثَلَاثُ كَيَّاتٍ قَالَ فَأُتِيَ بِالثَّالِثَةِ فَقَالَ هَلْ تَرَكَ عَلَيْهِ مِنْ دَيْنٍ؟ قَالُوا نَعَمْ قَالَ هَلْ تَرَكَ مِنْ شَيْءٍ؟ قَالُوا لَا قَالَ صَلُّوا عَلَى صَاحِبِكُمْ فَقَالَ رَجُلٌ مِنَ الْأَنْصَارِ يُقَالُ لَهُ أَبُو قَتَادَةَ يَا رَسُولَ اللهِ عَلَيَّ دَيْنُهُ فَصَلَّى عَلَيْهِ
hadithunlocked.com