The intelligence official also said that Mr. Haniya , the Hamas prime minister , was at odds with the military wing of Hamas , believed by Palestinians and Israelis to be under the command of the exiled Hamas leader , Khaled Meshal , who lives in Damascus , Syria .