Abu Sa'id al-Khudri (RA) reported: I heard Allah's Messenger (ﷺ) addressing in Madinah. He said: O people, Allah is giving an indication (of the prohibition) of wine. and He is probably soon going to give an order about it. So he who has anything of it with him should sell that, and derive benefit out of it. He (the narrator) said: We waited for some time that Allah's Apostle (ﷺ) said: Verily Allah, the Exalted, has forbidden wine. So who hears this verse and he has anything of it with him, he should neither drink it nor sell it. He (the narrator) said: The people then brought whatever they had of it with them on the streets of Madinah and spilt that.
Narrated to us by Suwayd ibn Sa‘id, narrated to us by Hafs ibn Maysarah, from Zayd ibn Aslam, from ‘Abd al-Rahman ibn Wa‘lah, a man from the people of Egypt, that he came to ‘Abd Allah ibn ‘Abbas. And narrated to us by Abu al-Tahir—and the wording is his—he informed us Ibn Wahb, he informed me Malik ibn Anas, and others, from Zayd ibn Aslam, from ‘Abd al-Rahman ibn Wa‘lah al-Saba’i from the people of Egypt, that he asked ‘Abd Allah ibn ‘Abbas about what is pressed from grapes? Ibn ‘Abbas said: "A man gifted the Messenger of Allah, peace and blessings be upon him, a container of wine. The Messenger of Allah, peace and blessings be upon him, said to him: Do you know that Allah has forbidden it? He said: No. Then he spoke privately to a man. The Messenger of Allah, peace and blessings be upon him, said to him: What did you say to him privately? He said: I ordered him to sell it. He said: Indeed, the One who forbade its drinking has forbidden its sale. He said: So he opened the waterskin until what was in it was gone."
'A'isha (Allah be pleased with her) reported: When the concluding verses of Sura Baqarah were revealed, Allah's Messenger (ﷺ) went out and read them out to the people and then forbade them to trade in wine.
'A'isha (Allah be pleased with her) reported: When the concluding verses of Sura Baqarah pertaining to Riba were revealed, Allah's Messenger (ﷺ) went out to the mosque and he forbade the trade in wine.