Anas bin Malik reported,

On the day of Khaybar, a man came and said, "Messenger of Allah, the donkeys have been eaten."Then another came and said, "Messenger of Allah, the donkeys have been wiped out."So the Messenger of Allah ﷺ ordered Abu Talha to announce, "Allah and His Messenger forbid you from eating the meat of donkeys, for it is filth," or "impure."The pots were then turned over with whatever was in them.

Muslim 5021

Sahih

حدثنا محمد بن منهال الضرير حدثنا يزيد بن زريع حدثنا هشام بن حسان عن محمد بن سيرين

عن أنس بن مالك قال

لما كان يوم خيبر جاء جاء فقال يا رسول الله أكلت الحمر ثم جاء آخر فقال يا رسول الله أفنيت الحمر فأمر رسول الله ﷺ أبا طلحة فنادى إن الله ورسوله ينهيانكم عن لحوم الحمر فإنها رجس أو نجس قال فأكفئت القدور بما فيها

مسلم 5021صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Hunting, slaughtering, and what may be eaten of animals
Chapter
Prohibition of eating the meat of domestic donkeys
Numbering
Darussalam 5021
Muslim 5021