Hamas’ exiled leadership has long been based in Qatar, which has served as a mediator in talks between Hamas and Israel for several years.