Sahih al-Bukhari
Sahih al-Bukhari 2298
حَدَّثَنَا يَحْيَى بْنُ بُكَيْرٍ، حَدَّثَنَا اللَّيْثُ، عَنْ عُقَيْلٍ، عَنِ ابْنِ شِهَابٍ، عَنْ أَبِي سَلَمَةَ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَ يُؤْتَى بِالرَّجُلِ الْمُتَوَفَّى عَلَيْهِ الدَّيْنُ فَيَسْأَلُ " هَلْ تَرَكَ لِدَيْنِهِ فَضْلاً ". فَإِنْ حُدِّثَ أَنَّهُ تَرَكَ لِدَيْنِهِ وَفَاءً صَلَّى، وَإِلاَّ قَالَ لِلْمُسْلِمِينَ " صَلُّوا عَلَى صَاحِبِكُمْ ". فَلَمَّا فَتَحَ اللَّهُ عَلَيْهِ الْفُتُوحَ قَالَ " أَنَا أَوْلَى بِالْمُؤْمِنِينَ مِنْ أَنْفُسِهِمْ، فَمَنْ تُوُفِّيَ مِنَ الْمُؤْمِنِينَ فَتَرَكَ دَيْنًا فَعَلَىَّ قَضَاؤُهُ، وَمَنْ تَرَكَ مَالاً فَلِوَرَثَتِهِ ".
Narrated Abu Huraira: When a deceased person who owed a debt was brought to the Messenger of Allah (ﷺ), he would ask, “Did he leave anything in excess to cover his debt?” If he was told that the deceased had left enough to repay it, he prayed over him; otherwise, he said to the Muslims, “Pray over your companion.” When Allah granted him victories, he said, “I have greater claim over the believers than they have over themselves. If any believer dies leaving a debt, its repayment is my responsibility; and whoever leaves property, it belongs to his heirs.”