Its architect was Ebubekir Mehmet.[1] It was commissioned by two Ahi leaders named Hüsamettin and Hasaneddin. However, in 1330, it was repaired by another Ahi leader named Şerafettin after whom the masjid was named. After several minor repairs the masjid was restored by the Directorate General of Foundations in 2010-2013 term.