An Israeli strike on Gaza's sole Catholic Church killed three people and injured several others, the Latin Patriarchate of Jerusalem, which oversees the small parish, said on Thursday.
The patriarchate condemned "this targeting of innocent civilians and of a sacred place", saying two women and one man had died in the attack on the Holy Family Church.
"This horrific war must come to a complete end," it said, adding the victims had turned to the church compound as a safe haven "after their homes, possessions, and dignity had already been stripped away".
The Holy Family Church spoke in a separate statement of "a number of injured, some in critical condition".
In a telegram for the victims, Pope Leo said he was "deeply saddened" and called for "an immediate ceasefire".
The pope expressed his "profound hope for dialogue, reconciliation and enduring peace in the region", according to the telegram, which was signed by the Vatican secretary of state, Cardinal Pietro Parolin and made no mention of Israel.
The Israeli military said it was looking into the incident. Israel's foreign ministry said in a statement on X the results of the investigation would be published.
Israeli Prime Minister Benjamin Netanyahu said: "Israel deeply regrets that a stray ammunition hit Gaza's Holy Family Church" and that "every innocent life lost is a tragedy".

Pope Leo renews ceasefire call after strike on Gaza's only Catholic church. Source: Getty / Anadolu
The patriarchate earlier said the parish priest, Father Gabriel Romanelli, was among those injured, and his church had sustained damage.
Father Romanelli, an Argentine, used to update the late Pope Francis about the ongoing conflict via calls and messages.
TV footage showed him sitting, receiving treatment at al-Ahli Arab Hospital in Gaza, with a bandage around his lower right leg.
Italian Prime Minister Giorgia Meloni blamed Israel for the strike on the religious compound.
"The attacks against the civilian population that Israel has been carrying out for months are unacceptable. No military action can justify such an attitude."