Since Qatar is an Islamic state with strict legislation, according to the Law 11 of 2004, specifically, the articles 274-277, all forms of gambling are strongly prohibited. If you break this law, the penalty is quite strict as it includes a fine of up to 3,000 riyals as well as imprisonment of up to three months; if you are caught gambling in a public place, the penalty gets twice harsh, so there's a fine of up to 6,000 riyals and up to six months imprisonment.