Read the story
By tradition, this mosque was built before anyone knew whom it was for. Around 1400, the story goes, a marabout named Sheikh al-Mokhtar Hamalla raised it for a saint still to come. Forty years later, a holy man named Sidi Yahya Tadelsi appeared and asked for the keys.
In the written record, Timbuktu's governor, Mohamed Naddah, is said to have appointed his close friend Sidi Yahya al-Tadelsi as the first imam. Either way, the man and the building became one. He was later venerated as a saint, he was buried inside, and the mosque took his name. For centuries visitors came to his tomb, among them Ahmad Baba, the city's most renowned scholar.
Sidi Yahya is one of three great mosques, alongside Djinguereber and Sankoré, in a place nicknamed the city of 333 saints. Its roof rests on ronnier palm beams under layers of mud, and mud must be renewed. By one account, rain and erosion bring the community out every year to press fresh banco onto the walls. The historian Labelle Prussin noted that the men who raised these monuments also dug the graves and built the tombs.
The mosque also kept a door. According to a local imam, it was not supposed to open until the end of days.
On July 2, 2012, Ansar Dine militants broke it down. It was part of a campaign against the city's shrines that later sent one militant, Ahmad al-Faqi al-Mahdi, to prison for a war crime. The imam, Alpha Abdoulahi, said they wanted to destroy the mystery. They offered him 50,000 CFA francs for repairs. He refused, saying what they had done was irreparable.
Then local carpenters went to work. With UNESCO's support, the sacred gate was restored on September 19, 2016.
The imam was right that the mystery could not be bought back. But a city that waited forty years for its saint knew how to rebuild its door.