Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:11409Abū Bakr b. al-Ḥasan al-Qāḍī > Abū Jaʿfar b. Duḥaym al-Shaybānī > Muḥammad b. al-Ḥusayn b. Abū al-Ḥunayn > Abū Bakr b. Abū Shaybah > ʿUbaydullāh b. Mūsá > Ṣadaqah b. ʿĪsá > Anas

[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.  

البيهقي:١١٤٠٩أَخْبَرَنَا أَبُو بَكْرِ بْنُ الْحَسَنِ الْقَاضِي ثنا أَبُو جَعْفَرِ بْنُ دُحَيْمٍ الشَّيْبَانِيُّ ثنا مُحَمَّدُ بْنُ الْحُسَيْنِ بْنِ أَبِي الْحُنَيْنِ ثنا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ ثنا عُبَيْدُ اللهِ بْنُ مُوسَى عَنْ صَدَقَةَ بْنِ عِيسَى قَالَ

سَمِعْتُ أَنَسًا يَقُولُ أُتِيَ النَّبِيُّ ﷺ بِرَجُلٍ يُصَلِّي عَلَيْهِ فَقَالَ عَلَيْهِ دَيْنٌ؟ قَالُوا نَعَمْ قَالَ إِنْ ضَمِنْتُمْ دَيْنَهُ صَلَّيْتُ عَلَيْهِ قَالَ الْبُخَارِيُّ وَقَالَ أَبُو دَاوُدَ ثنا صَدَقَةُ أَبُو مُحْرِزٍ سَمِعَ أَنَسًا