When the last Verses of Surat-al-Baqara were revealed. Allah's Messenger (ﷺ) went out and recited them in the Mosque and prohibited the trade of alcoholic liquors.
Sahih al-Bukhari Book 65, Hadith 64