Hamas on Wednesday stated that it was open to a ceasefire agreement with Israel, but did not agree to accept the US-backed proposal announced by President Donald Trump hours earlier and asserted that they will agree to any deal that stops the war in Gaza.