The president's gift comes months after the newly converted mosque was opened for Muslim prayer.
The calligraphy, gifted by Erdoğan, depicts excerpts from the Quran.
The Hagia Sophia's conversion into a mosque has raised eyebrows globally for necessitating the covering of mosaics and frescos in the ancient building.