Muwatta Malik, Book 20, Hadith 77 (USC-MSA)

Yahya related to me from Malik, from Abu'n-Nadr, the mawla of 'Umar ibn 'Ubaydullah at-Taymi, from Nafi, the mawla of Abu Qatada al- Ansari, that Abu Qatada was once with the Messenger of Allah, may Allah bless him and grant him peace. When they got to one of the roads to Makka he fell behind with some companions of his who were muhrim, while he was not. Then he saw a wild ass, so he got on his mount and asked his companions to give him his whip but they refused. Then he asked them for his spear and they refused to give it to him. So he took hold of it and attacked the ass and killed it. Some of the companions of the Messenger of Allah, may Allah bless him and grant him peace, ate from it, and others refused. When they had caught up with the Messenger of Allah, may Allah bless him and grant him peace, they asked him about it and he said, "It is food that Allah has fed you with."

حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، عَنْ أَبِي النَّضْرِ، مَوْلَى عُمَرَ بْنِ عُبَيْدِ اللَّهِ التَّيْمِيِّ عَنْ نَافِعٍ، مَوْلَى أَبِي قَتَادَةَ الأَنْصَارِيِّ عَنْ أَبِي قَتَادَةَ، أَنَّهُ كَانَ مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم حَتَّى إِذَا كَانُوا بِبَعْضِ طَرِيقِ مَكَّةَ تَخَلَّفَ مَعَ أَصْحَابٍ لَهُ مُحْرِمِينَ وَهُوَ غَيْرُ مُحْرِمٍ فَرَأَى حِمَارًا وَحْشِيًّا فَاسْتَوَى عَلَى فَرَسِهِ فَسَأَلَ أَصْحَابَهُ أَنْ يُنَاوِلُوهُ سَوْطَهُ فَأَبَوْا عَلَيْهِ فَسَأَلَهُمْ رُمْحَهُ فَأَبَوْا فَأَخَذَهُ ثُمَّ شَدَّ عَلَى الْحِمَارِ فَقَتَلَهُ فَأَكَلَ مِنْهُ بَعْضُ أَصْحَابِ رَسُولِ اللَّهِ صلى الله عليه وسلم وَأَبَى بَعْضُهُمْ فَلَمَّا أَدْرَكُوا رَسُولَ اللَّهِ صلى الله عليه وسلم سَأَلُوهُ عَنْ ذَلِكَ فَقَالَ ‏ "‏ إِنَّمَا هِيَ طُعْمَةٌ أَطْعَمَكُمُوهَا اللَّهُ ‏" ‏ ‏.‏

sunnah.com

also referenced under: Book 20, Hadith 781 (In-Book)