BEIRUT, Lebanon — Saudi Arabia’s top cleric has declared the playing of chess “forbidden,” calling it a waste of time and money that creates hatred between players.

In a fatwa, or religious decree, issued in response to a question from a caller to a Saudi television show, Grand Mufti Sheikh Abdulaziz Al-Sheikh said that the game was “the work of Satan,” like alcohol and gambling, despite its long history in the Middle East. Chess is played across the Arab world.

A member of the Saudi Chess Association, Musa BinThaily, took to Twitter on Thursday to defend the game, saying that it had nothing to do with gambling and that the association had held 70 events in the kingdom. He posted photos of Saudi players at the group’s events, including one that showed members of the group posing with a prince from the United Arab Emirates.