The mosque is situated in the ancient site of Stratonicea in Yatağanilçe (district) of Muğla Province. Although an ancient site, Stratonicea continued as a settlement during the Turkish era. There is a Seljukidhamam (bath) and an Ottoman mosque. Suleiman I of the Ottoman Empire probably visited the mosque in 1522 during his campaign to Rhodes.[1]Evliya Çelebi, the Ottoman traveler in the 17th century also saw the mosque and named it Tabakhane Mosque. Nevertheless, in 1876 it went under wholescale restoration. The commissioner of the restoration was a certain Şaban Ağa and thus the restored mosque is named after him.
The mosque is a square-plan mosque each side being 14.5 metres (48 ft). Its nartex to the north is supported by 8 wooden columns. There are 16 windows in the main hall.[2] In 2018 the mosque is restored by the governorship of Muğla.