The Islamic militant group Hamas says it has formed its cabinet and will present the choices to Palestinian President Mahmoud Abbas on Sunday .