Islam encourages Muslims to participate in permissible competitions and prohibits them from betting, which is the same as gambling. Referring to the prohibition of gambling, Allah Almighty says [O you who believe!
It is stated in the Quran that games of chance, including maisir, are a "grave sin" and "abominations of Satan's handiwork". It is also mentioned in ahadith. They ask you about wine and gambling. Say: 'In them both lies grave sin, though some benefit, to mankind.