'A'isha reported that Messenger of Allah ﷺ was asked about it, whereupon he said that everything that causes intoxication is forbidden.
أَنَّهُ سَمِعَ عَائِشَةَ تَقُولُ سُئِلَ رَسُولُ اللَّهِ ﷺ عَنِ الْبِتْعِ فَقَالَ رَسُولُ اللَّهِ ﷺ كُلُّ شَرَابٍ أَسْكَرَ فَهُوَ حَرَامٌ