Four verses were revealed concerning me. He mentioned some of them, and said, "I came upon a group of the Ansar and the Muhajirun, and they said, 'Come, we will feed you and give you wine to drink.' This was before wine had been forbidden.I came to them in a walled garden. With them was a roasted camel's head and a skin of wine. I ate and drank with them.The Ansar and the Muhajirun were mentioned there, and I said, 'The Muhajirun are better than the Ansar.'At that a man took up one of the two jawbones of the head and struck me with it, wounding my nose. So I went to the Messenger of Allah ﷺ and told him, and Allah revealed concerning me, about wine, "Wine, gambling, idols, and divining arrows are an abomination from the work of Satan" [Maidah 5:90]."
أنزلت في أربع آيات، فذكر منها، قال: وأتيت على نفر من الأنصار والمهاجرين، فقالوا: تعال نطعمك ونسقيك خمرا، وذلك قبل أن تحرم الخمر، قال: فأتيتهم في حش- والحش: البستان-، فإذا رأس جزور مشوي عندهم، وزق من خمر، قال: فأكلت و شربت معهم، قال: فذكرت الأنصار والمهاجرين عندهم، فقلت: المهاجرون خير من الأنصار، قال: فأخذ رجل أحد لحيي الرأس، فضربني به فجرح بأنفي، فأتيت رسول الله ﷺ فأخبرته، فأنزل الله عز وجل في- يعني نفسه- شأن الخمر: {إنما الخمر والميسر والأنصاب والأزلم رجس من عمل الشيطن}.
Muslim narrated it in the Virtues of the Companions (1748:43) through several routes from Hasan bin Musa, who said, Zuhayr narrated to us, who said, Simak bin Harb narrated to us, who said, Musab bin Saad narrated to me, from his father, who said, then he mentioned it, in a long hadith.