I said to Jabir bin Zayd, "They claim that the Messenger of Allah ﷺ forbade the meat of domestic donkeys."He replied, "Hakam bin Amr al-Ghifari used to say that here among us in Basra, but that ocean of knowledge, Ibn Abbas, refused to accept it, and he recited, "Say, I do not find in what has been revealed to me anything forbidden" [Anam 6:145]."
قلت لجابر بن زيد: يزعمون أن رسول الله ﷺ نهى عن حمر الأهلية؟ فقال: قد كان يقول ذاك الحكم بن عمرو الغفاري عندنا بالبصرة، ولكن أبى ذاك البحر ابن عباس وقرأ {قل لا أجد في ما أوحي إلى محرما} [الأنعام: ١٤٥].
Bukhari narrated it in the Book of Sacrifices and Hunting (5529) from Ali bin Abdullah, who said, Sufyan narrated to us, Amr said, I said to Jabir bin Zayd, and he mentioned it.Abu Dawud narrated it (3810) through the route of Ibn Jurayj, who said, Amr bin Dinar informed me, he said, a man informed me, from Jabir bin Abdullah, who said, "On the day of Khaybar, the Messenger of Allah ﷺ forbade us from eating the meat of domestic donkeys, and commanded us to eat the meat of horses." Amr said, I related this report to Abu Shatha, and he said, Hakam Ghifari used to say this among us, but the ocean rejected that, meaning Ibn Abbas.I say, Ibn Abbas did not hold the view of absolute prohibition. As for the other Companions, they held that its prohibition was an absolute prohibition, and this is the position of the majority of scholars, except for Malik, from whom three narrations are reported. The most well known of them is that it is disliked with a strong disapproval bordering on prohibition. The second is that it is forbidden. The third is that it is permissible. The correct view is prohibition, as stated by the majority of scholars, on account of the explicit and sahih hadiths.