Hadith 6:1217
Ya'la ibn 'Ubayd narrated to us, Muhammad ibn 'Amr narrated to us, from Sa'id ibn Abi Sa'id al-Maqburi, from 'Abdullah ibn Abi Qatada, who said: A funeral was brought to the Messenger of Allah, may Allah bless him and grant him peace, for him to pray over it. He said, "Does he have any debt?" They said, "Yes, two dinars." He said, "Did he leave behind anything to pay them off?" They said, "No." He said, "Then pray over your companion." Abu Qatada said, "They are upon me, O Messenger of Allah." So the Prophet, may Allah bless him and grant him peace, prayed over him.
حدثنا يعلى بن عبيد حدثنا محمد بن عمرو عن سعيد بن أبي سعيد المقبري عن عبد الله بن أبي قتادة قال أتي رسول الله صلى الله عليه وسلم بجنازة ليصلي عليها فقال عليه دين قالوا نعم ديناران قال هل ترك لهما وفاء قالوا لا قال فصلوا على صاحبكم قال أبو قتادة هما علي يا رسول الله فصلى عليه النبي صلى الله عليه وسلم