The Juma Mosque is the most architecturally distinctive building in Quba, an octagonal red-brick structure built in 1802 that rises from the city centre near the main square. Inside, a single domed hall 16 metres in diameter is supported without interior columns — an impressive structural solution for its period. The exterior, with its faceted cylindrical form, looks quite different from the domed mosques of the South Caucasus and reflects the particular taste of the late Quba Khanate.
The mosque is still in active use. Non-Muslim visitors are welcome outside prayer times; dress modestly and remove shoes at the door. The interior is calm and the acoustic under the dome is worth a moment of quiet.