Hamas's political leadership will continue to stay in Doha, Qatar, as long as their presence is beneficial to mediation efforts aimed at ending the war in Gaza and releasing prisoners, according to Qatari foreign ministry spokesperson Majed al-Ansari.