When the last Verses of Surat-al-Baqara were revealed. Messenger of Allah ﷺ went out and recited them in the Mosque and prohibited the trade of alcoholic liquors. (Using translation from Bukhārī 4541)
أَنَّهَا قَالَتْ لَمَّا أُنْزِلَتِ الْآيَاتُ الْأَوَاخِرُ مِنْ سُورَةِ الْبَقَرَةِ خَرَجَ رَسُولُ اللهِ ﷺ فَقَرَأَهُنَّ فِي الْمَسْجِدِ فَحَرَّمَ التِّجَارَةَ فِي الْخَمْرِ