Turkish President Recep Tayyip Erdogan visited Hagia Sofia on Sunday just days before the first Muslim prayers are due to be held at the there.
The President paid a visit for inspection, Erdogan took stock of the conversion work, providing pictures showing scaffolding inside the building.
It was unclear whether Erdogan planned to be among some 500 worshippers set to attend Friday prayers.
Turkey’s top court paved the way for the conversion in a decision to revoke the edifice’s museum status conferred nearly a century ago.
The sixth-century building had been open to all visitors, regardless of their faith, since its inauguration as a museum in 1935.
Earlier, Diyanet said the building would continue to be open to all visitors outside the hours given over to prayer.
The UNESCO World Heritage site was built as a cathedral during the Byzantine empire but converted into a mosque after the Ottoman conquest of Constantinople in 1453.
Earlier, President Erdogan had announced the decision as court annulled Hagia Sophia’s museum status.
Erdogan defended his decision. He said that the country has exercised its right to turn the site back into a mosque.
He said in a press conference that the first Muslim prayers would be performed on 24th July.
“Like all our mosques, the doors of Hagia Sophia will be wide open to locals and foreigners, Muslims and non-Muslims,” he added.
“I invite everyone to respect decisions taken by judicial and executive bodies of my country on Hagia Sophia,”
Mr. Erdogan also said that Turkey welcomes all views on the issue. But he also said that any attitude or expression beyond that would be considered a “violation” of Turkey’s “independence”.