Smoke trails mark the path of Palestinian missiles fired from the north-east of Gaza City on August 21, 2014. As the sixth week war between Israel and Hamas raged on, leaving Egyptian mediated truce talks in tatters, warplanes continued to pound Gaza killing three members of the Islamist movement's armed wing, the Ezzedine al-Qassam Brigades. AFP PHOTO/ROBERTO SCHMIDT (Photo credit should read ROBERTO SCHMIDT/AFP/Getty Images)

JERUSALEM, Aug 22 (Reuters) - A rocket fired from Gaza hit a synagogue in the Israeli city ofAshdod on Friday, wounding three people, police said.

"There is damage at the scene and a number of people were injured by shrapnel," police spokesman Micky Rosenfeld said. The attack came shortly before evening prayers ahead of the Jewish Sabbath. Ashdod is around 30 km (20 miles) from Gaza.

Hamas and other militant groups fired more than two dozen rockets into Israel on Friday, injuring two other people, with no signs of a let up in the six-week war.

Israel carried out 25 air strikes on Gaza, killing four people, Gaza health officials said.

(Writing by Allyn Fisher-Ilan; editing by Luke Baker)