Sunan an-Nasa'i #1960 · The Book of Funerals

Sunan an-Nasa'iAbdullah bin Abi Qatadah narrated from his father that
Sunan an-Nasa'i · Book 21 · The Book of Funerals
Sunan an-Nasa'i · كتاب 21 · كتاب الجنائز
a man was brought to the Prophet for him to offer the funeral prayer, and he said: "Pray for your companion, for he owes a debt." Abu Qatadah said: " I will pay it." The Prophet said: "In full?" He said: "In full." So he prayed for him
أَخْبَرَنَا مَحْمُودُ بْنُ غَيْلاَنَ، قَالَ حَدَّثَنَا أَبُو دَاوُدَ، قَالَ حَدَّثَنَا شُعْبَةُ، عَنْ عُثْمَانَ بْنِ عَبْدِ اللَّهِ بْنِ مَوْهَبٍ، سَمِعْتُ عَبْدَ اللَّهِ بْنَ أَبِي قَتَادَةَ، يُحَدِّثُ عَنْ أَبِيهِ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم أُتِيَ بِرَجُلٍ مِنَ الأَنْصَارِ لِيُصَلِّيَ عَلَيْهِ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏
"‏ صَلُّوا عَلَى صَاحِبِكُمْ فَإِنَّ عَلَيْهِ دَيْنًا ‏"‏ ‏.‏ قَالَ أَبُو قَتَادَةَ هُوَ عَلَىَّ ‏.‏ قَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ بِالْوَفَاءِ ‏"‏ ‏.‏ قَالَ بِالْوَفَاءِ ‏.‏ فَصَلَّى عَلَيْهِ ‏.‏
Reference : Sunan an-Nasa'i 1960In-book reference : Book 21, Hadith 143