The Messenger of Allah ﷺ forbade on the day of Khaybar the eating of garlic and the flesh of domesticated donkeys. The prohibition against eating garlic comes from Nafi alone, and the prohibition against the flesh of domesticated donkeys comes from Salim.
حدثني عبيد بن إسماعيل عن أبي أسامة عن عبيد الله عن نافع وسالم
أن رسول الله ﷺ نهى يوم خيبر عن أكل الثوم وعن لحوم الحمر الأهلية نهى عن أكل الثوم هو عن نافع وحده ولحوم الحمر الأهلية عن سالم