There are moments in Istanbul when a simple name opens the door to an entire chapter of history.
I was looking for Haci Huseyin Aga Camii.
Only one name, I thought.
But Istanbul had other plans.
The deeper I looked, the more complicated the story became. There was a Haci Huseyin Aga Mosque in Samatya, another associated with Kurkcubasi Haci Huseyin Aga in Yedikule, and then, only a short distance away, another extraordinary story involving Koca Mustafa Pasa — a mosque whose history reaches back into the Byzantine Christian world.
This is one of the reasons I love walking through Istanbul.
The city rarely gives you just one story.
My first stop was in Samatya, near Narlikapi.
The small mosque known today as Haci Huseyin Aga Camii is also associated with the names Arap Kuyusu Camii and Arap Kapisi Mescidi. Historical records place its construction in the Ottoman period, with 1603 being the commonly cited date in the Fatih mosque documentation.
The mosque was built by Ahmed Dede, while its connection with the vakif of Haci Huseyin Aga explains the name by which it became known.
It is a modest building — exactly the kind of place that can easily disappear into the enormous historical landscape of Istanbul.
But that modesty is part of its charm.
Its square plan, masonry walls, wooden roof, small courtyard and traditional minaret belong to a very different scale of Istanbul from the monumental imperial mosques.
The mosque also has another name that immediately catches the imagination:
According to the traditional story, a well was dug in the mosque's courtyard by an Arab, and the building subsequently became associated with the name.
There is even an old fountain opposite the courtyard entrance, dating to around 1600 and associated with Ahmed Dede.
And there is another layer to discover.
The mosque was once used in connection with the Sunbuli tradition, and its history therefore belongs not only to the architectural story of Samatya but also to the religious and social life of the Ottoman neighborhood.
But there is another Haci Huseyin Aga
Then I discovered that the name was not unique.
In Yedikule, very close to the famous Yedikule Fortress, stands another historic mosque:
This one takes us to 1613.
The mosque was founded by Kurkcubasi Haci Huseyin Aga as a mescit. Later, a benefactor named Fatma Hatun provided a minber, transforming the small prayer building into a mosque.
The building has a very different atmosphere from the large imperial mosques of Istanbul.
Its walls are masonry, its roof is wooden, and its minaret combines stone and brick.
Inside, decorative tiles and wooden elements create an intimate atmosphere.
The mosque was repaired in 1871 and again in 1945, while the entrance preserves an inscription associated with the nineteenth-century restoration.
And then there is its location.
Stand outside and you are almost immediately reminded of another Istanbul — the Istanbul of the city walls, Yedikule and the great Ottoman transformation of the former Byzantine capital.
So when someone says "Haci Huseyin Aga Camii", you should always ask:
Which one? Samatya or Yedikule?
And then came Koca Mustafa Pasa
But my walk had not finished.
The name Koca Mustafa Pasa leads to one of the most fascinating religious monuments in this part of Istanbul.
Today, Koca Mustafa Pasa Camii, popularly known as Sunbul Efendi Camii, is a mosque surrounded by a historic complex.
But before it was a mosque, this was a Christian site.
The building is associated with a Byzantine church and monastery dedicated to Saint Andrew of Crete.
The history of the complex reaches much further back than the Ottoman period. The site had a religious history in the Byzantine era, and the church was rebuilt and transformed several times before the Ottoman period.
According to the TDV Islam Ansiklopedisi, the present building is particularly associated with Byzantine rebuilding in the late thirteenth century, following the restoration of Constantinople after the Latin occupation.
Koca Mustafa Pasa converted the Byzantine church into a mosque and established a large religious and charitable complex around it.
The mosque subsequently became an important center of the Sunbuli tradition and eventually gave its name to the surrounding neighborhood.
This is one of those Istanbul buildings where the word "mosque" tells you only about the building's present identity.
Underneath that identity are Byzantine memories.
And underneath those memories are even older layers of Constantinople.
A second Byzantine church connected with Koca Mustafa Pasa
There is an even more surprising connection.
The waqf of Koca Mustafa Pasa also included another former church that had been converted into a mosque:
Atik Mustafa Pasa Camii, in the Ayvansaray area.
This building is generally identified with a former Byzantine church, and its history has been associated with churches dedicated to Saints Peter and Mark or Saints Cosmas and Damian.
It was converted into a mosque around the beginning of the sixteenth century.
So Koca Mustafa Pasa's story reaches beyond the mosque that carries his name.
His charitable foundation included properties in different parts of Istanbul — including a former Byzantine church that had itself become a mosque.
Istanbul is full of these hidden identities
This is what makes walking through Istanbul so different from simply visiting its famous monuments.
A sign may say Camii.
But the building may have been a mescit.
Or a tekke.
Or a church.
Or a monastery.
A street may carry an Ottoman name while following a route that existed centuries earlier.
A small mosque may contain a Byzantine column capital.
A courtyard fountain may remember a benefactor whose name has almost disappeared from modern maps.
And sometimes, even the name of the mosque creates a mystery.
Haci Huseyin Aga Camii.
One name.
More than one Istanbul story.
And somewhere between Samatya, Yedikule and Koca Mustafa Pasa, Niobe begins to understand something about this city:
Istanbul does not erase its previous lives.
It layers them.
You only have to slow down enough to see them.
And then, just when I thought I had uncovered the last piece of the Haci Huseyin Aga, another connection came to light. My journey lead me to Kucuk Ayasofya Mosque, where I discovered that the story of the Aga was woven into this remarkable monument as well. Haci Huseyin Aga, the Kapiagasi of Sultan Bayezid II, was responsible for transforming the former Byzantine Church of Saints Sergius and Bacchus into a mosque and establishing the religious foundation that grew around it. But the most unexpected discovery was waiting in the small turbe beside the mosque. There, Haci Huseyin Aga rests in his tomb alongside Seyh Haci Kamil Efendi. This information was the perfect final clue: the man whose name had appeared in different corners of Istanbul was not simply connected to several buildings across the city — his own resting place was here, beside Kucuk Ayasofya, quietly linking another Byzantine layer of Istanbul with the Ottoman story that followed.