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.
abudawud:3332Muḥammad b. al-ʿAlāʾ > Ibn Idrīs > ʿĀṣim b. Kulayb from his father > a man from al-Anṣār

We went out with the Messenger of Allah ﷺ to a funeral, and I saw the Messenger of Allah ﷺ at the grave giving this instruction to the grave-digger: Make it wide on the side of his feet, and make it wide on the side of his head. When he came back, he was received by a man who conveyed an invitation from a woman. So he came (to her), to it food was brought, and he put his hand (i.e. took a morsel in his hand); the people did the same and they ate. Our fathers noticed that the Messenger of Allah ﷺ was moving a morsel around his mouth. He then said: I find the flesh of a sheep which has been taken without its owner's permission. The woman sent a message to say: Messenger of Allah, I sent (someone) to an-Naqi' to have a sheep bought for me, but there was none; so I sent (a message) to my neighbour who had bought a sheep, asking him to send it to me for the price (he had paid), but he could not be found. I, therefore, sent (a message) to his wife and she sent it to me. The Messenger of Allah ﷺ said: Give this food to the prisoners.  

أبو داود:٣٣٣٢حَدَّثَنَا مُحَمَّدُ بْنُ الْعَلاَءِ أَخْبَرَنَا ابْنُ إِدْرِيسَ أَخْبَرَنَا عَاصِمُ بْنُ كُلَيْبٍ عَنْ أَبِيهِ عَنْ رَجُلٍ مِنَ الأَنْصَارِ قَالَ

خَرَجْنَا مَعَ رَسُولِ اللَّهِ ﷺ فِي جَنَازَةٍ فَرَأَيْتُ رَسُولَ اللَّهِ ﷺ وَهُوَ عَلَى الْقَبْرِ يُوصِي الْحَافِرَ أَوْسِعْ مِنْ قِبَلِ رِجْلَيْهِ أَوْسِعْ مِنْ قِبَلِ رَأْسِهِ فَلَمَّا رَجَعَ اسْتَقْبَلَهُ دَاعِيَ امْرَأَةٍ فَجَاءَ وَجِيءَ بِالطَّعَامِ فَوَضَعَ يَدَهُ ثُمَّ وَضَعَ الْقَوْمُ فَأَكَلُوا فَنَظَرَ آبَاؤُنَا رَسُولَ اللَّهِ ﷺ يَلُوكُ لُقْمَةً فِي فَمِهِ ثُمَّ قَالَ أَجِدُ لَحْمَ شَاةٍ أُخِذَتْ بِغَيْرِ إِذْنِ أَهْلِهَا فَأَرْسَلَتِ الْمَرْأَةُ قَالَتْ يَا رَسُولَ اللَّهِ إِنِّي أَرْسَلْتُ إِلَى الْبَقِيعِ يَشْتَرِي لِي شَاةً فَلَمْ أَجِدْ فَأَرْسَلْتُ إِلَى جَارٍ لِي قَدِ اشْتَرَى شَاةً أَنْ أَرْسِلْ إِلَىَّ بِهَا بِثَمَنِهَا فَلَمْ يُوجَدْ فَأَرْسَلْتُ إِلَى امْرَأَتِهِ فَأَرْسَلَتْ إِلَىَّ بِهَا فَقَالَ رَسُولُ اللَّهِ ﷺ أَطْعِمِيهِ الأَسَارَى  


See similar narrations below:

Collected by Bayhaqī
bayhaqi:10825Abū ʿAlī al-Rūdhbārī > Muḥammad b. Bakr > Abū Dāwud > Muḥammad b. al-ʿAlāʾ > Ibn Idrīs > ʿĀṣim b. Kulayb from his father > a man from al-Anṣār

We went out with the Messenger of Allah ﷺ to a funeral, and I saw the Messenger of Allah ﷺ at the grave giving this instruction to the grave-digger: Make it wide on the side of his feet, and make it wide on the side of his head. When he came back, he was received by a man who conveyed an invitation from a woman. So he came (to her), to it food was brought, and he put his hand (i.e. took a morsel in his hand); the people did the same and they ate. Our fathers noticed that the Messenger of Allah ﷺ was moving a morsel around his mouth. He then said: I find the flesh of a sheep which has been taken without its owner's permission. The woman sent a message to say: Messenger of Allah, I sent (someone) to an-Naqi' to have a sheep bought for me, but there was none; so I sent (a message) to my neighbour who had bought a sheep, asking him to send it to me for the price (he had paid), but he could not be found. I, therefore, sent (a message) to his wife and she sent it to me. The Messenger of Allah ﷺ said: Give this food to the prisoners. (Using translation from Abū Dāʾūd 3332)   

البيهقي:١٠٨٢٥فِيمَا أَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنا مُحَمَّدُ بْنُ بَكْرٍ ثنا أَبُو دَاوُدَ ثنا مُحَمَّدُ بْنُ الْعَلَاءِ ثنا ابْنُ إِدْرِيسَ أنا عَاصِمُ بْنُ كُلَيْبٍ عَنْ أَبِيهِ عَنْ رَجُلٍ مِنَ الْأَنْصَارِ قَالَ

خَرَجْنَا مَعَ رَسُولِ اللهِ ﷺ فِي جِنَازَةٍ فَرَأَيْتُ رَسُولَ اللهِ ﷺ وَهُوَ عَلَى الْقَبْرِ يُوصِي الْحَافِرَ أَوْسِعْ مِنْ قِبَلِ رِجْلَيْهِ أَوْسِعْ مِنْ قِبَلِ رَأْسِهِ فَلَمَّا رَجَعَ اسْتَقْبَلَهُ دَاعِي امْرَأَةٍ فَجَاءَ وَجِيءَ بِالطَّعَامِ فَوَضَعَ يَدَهُ ثُمَّ وَضَعَ الْقَوْمُ فَأَكَلُوا فَنَظَرَ آبَاؤُنَا رَسُولَ اللهِ ﷺ يَلُوكُ لُقْمَةً فِي فَمِهِ ثُمَّ قَالَ أَجِدُ لَحْمَ شَاةٍ أُخِذَتْ بِغَيْرِ إِذْنِ أَهْلِهَا فَأَرْسَلَتِ الْمَرْأَةُ إِنِّي أَرْسَلْتُ إِلَى الْبَقِيعِ يَشْتَرِي لِي شَاةً فَلَمْ تُوجَدْ فَأَرْسَلْتُ إِلَى جَارِي قَدِ اشْتَرَى شَاةً أَنْ أَرْسِلْ بِهَا إِلِيَّ بِثَمَنِهَا فَلَمْ يُوجَدْ فَأَرْسَلْتُ إِلَى امْرَأَتِهِ فَأَرْسَلَتْ إِلِيَّ بِهَا فَقَالَ رَسُولُ اللهِ ﷺ أَطْعِمِيهِ الْأُسَارَى