Hadith 4028
Book 23, Hadith 18وَحَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا أَبُو صَفْوَانَ الأُمَوِيُّ، عَنْ يُونُسَ الأَيْلِيِّ، ح وَحَدَّثَنِي حَرْمَلَةُ بْنُ يَحْيَى، - وَاللَّفْظُ لَهُ - قَالَ أَخْبَرَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ، أَخْبَرَنِي يُونُسُ، عَنِ ابْنِ، شِهَابٍ عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَ يُؤْتَى بِالرَّجُلِ الْمَيِّتِ عَلَيْهِ الدَّيْنُ فَيَسْأَلُ " هَلْ تَرَكَ لِدَيْنِهِ مِنْ قَضَاءٍ " . فَإِنْ حُدِّثَ أَنَّهُ تَرَكَ وَفَاءً صَلَّى عَلَيْهِ وَإِلاَّ قَالَ " صَلُّوا عَلَى صَاحِبِكُمْ " . فَلَمَّا فَتَحَ اللَّهُ عَلَيْهِ الْفُتُوحَ قَالَ " أَنَا أَوْلَى بِالْمُؤْمِنِينَ مِنْ أَنْفُسِهِمْ فَمَنْ تُوُفِّيَ وَعَلَيْهِ دَيْنٌ فَعَلَىَّ قَضَاؤُهُ وَمَنْ تَرَكَ مَالاً فَهُوَ لِوَرَثَتِهِ " .
Abū Hurayrah narrated that when a deceased man who owed a debt was brought to the Messenger of Allah (ﷺ), he would ask, “Did he leave anything with which to pay off his debt?” If he was told that the man had left enough to pay it off, he would perform the funeral prayer for him. Otherwise, he would say, “Perform the funeral prayer for your companion.”
When Allah granted him victories, he said, “I have a greater claim upon the believers than they have upon themselves (Al-Aḥzāb 33:6). If anyone dies owing a debt, it is my responsibility to pay it off, and if anyone leaves property, it belongs to his heirs.”