JERUSALEM, OCT. 18 -- Israeli troops shot and wounded 35 Palestinians in seven hours of clashes in the Gaza Strip today.

The incident reflected continuing tension in the Israeli-occupied territories over the deaths of at least 19 Palestinians in an Oct. 8 clash with police in Jerusalem on the Temple Mount, known to Moslems as Haram Sharif.

Prime Minister Yitzhak Shamir appealed to the United States and other nations today to put the Temple Mount incident behind them and refocus their attention on the Persian Gulf crisis caused by Iraq's Aug. 2 invasion of Kuwait.

Shamir defended Israel's rejection of a U.N. fact-finding team, saying it challenged Israel's control of Jerusalem.

{At the United Nations, Israeli Ambassador Johanan Bein said after being called to a meeting with Secretary General Javier Perez de Cuellar that "we agreed to cooperate in trying to find ways . . . to facilitate the secretary general to write his report and present it," special correspondent Trevor Rowe reported.}

Residents of the Gaza Strip's Rafah camp said violence erupted today when soldiers raised an Israeli flag on a rooftop in the center of the camp. Teenagers began throwing stones and at least eight military jeeps full of soldiers arrived to try to restore order, the residents said.

The army said that "an army unit in Rafah was attacked massively by stones." Soldiers responded by "firing plastic bullets in a controlled fashion," it said.

An army official said the soldiers were setting up a lookout.

Arab hospitals said 35 Palestinians were treated for bullet wounds, most from live ammunition. The army put the toll at 26 and said most had light wounds.