"We are on the doorstep of Ramadan, and if the war ends, we will strive to keep prayer present in its courtyards and rebuild it with faithful," he said.
Nael Al-Far expressed deep sadness at the fate of the mosque. "I never expected the mosque to turn into rubble one day," he said.
Israel has pounded the Gaza Strip since a cross-border attack by Hamas, which Tel Aviv said has killed less than 1,200 people.
The Israeli war on Gaza has pushed 85% of the territory's population into internal displacement amid acute shortages of food, clean water and medicine, while 60% of the enclave's infrastructure has been damaged or destroyed, according to the UN.
Israel is accused of genocide at the International Court of Justice. An interim ruling in January ordered Tel Aviv to stop genocidal acts and take measures to guarantee that humanitarian assistance is provided to civilians in Gaza.