[Machine] I heard Anas say that the Prophet ﷺ was brought a man who had died, and the Prophet ﷺ asked if the man had any debts. They said yes. The Prophet ﷺ then said, "If you guarantee his debt, I will pray for him." Al-Bukhari also narrated this, and Abu Dawood narrated it from the report of Sadaqah Abu Muhriz, who heard it from Anas.
سَمِعْتُ أَنَسًا يَقُولُ أُتِيَ النَّبِيُّ ﷺ بِرَجُلٍ يُصَلِّي عَلَيْهِ فَقَالَ عَلَيْهِ دَيْنٌ؟ قَالُوا نَعَمْ قَالَ إِنْ ضَمِنْتُمْ دَيْنَهُ صَلَّيْتُ عَلَيْهِ قَالَ الْبُخَارِيُّ وَقَالَ أَبُو دَاوُدَ ثنا صَدَقَةُ أَبُو مُحْرِزٍ سَمِعَ أَنَسًا