The mosque was destroyed in February, during an Israeli offensive.
More than a million Palestinians are sheltering in the southern city after being forced to flee their homes.
Earlier this week, Israel’s Prime Minister Benjamin Netanyahu said he has set a date for a military offensive into Rafah, despite growing warnings that it could lead to high civilian casualties.
BBC