The violence comes three days before Palestinian parliamentary elections .