I have been to Hagia Sophia. Its really beautiful.
It was made a museum in 1935 but after Erdogan became president, they converted it back to a mosque.
It has paintings of Jesus and Mary but Muslims are still praying inside it. They can easily pray in the Sultanahamed mosque across the road...