The mosque, located in Istanbulluoğlu Neighborhood, is named according to its inscription at the entrance to the harem. According to its inscription, the mosque was built in H.1215 / M.1800 - 1801 by the Chief Sergeant of Çapanoğlu Süleyman Bey, Halil Ağa, as a complex consisting of a mosque, a school (demolished), a double bath and a fountain. While the school was located in the courtyard at the northeast corner of the mosque, it no longer exists. It has been completely destroyed. The Turkish bath is located far from the mosque, next to the former mayor Salim Korkmaz House. It suffered a fire and is not used today.
The mosque is a masonry structure with a flat ceiling and hipped roof, a mixture of stone and brick. There is a large courtyard with a round minaret attached to the northwest of the building, which can also be climbed from the top. The courtyard is entered through the small door on the north and south. The west side was used as a burial part. There is also the tomb of Halil Ağa, the founder of the cemetery, made of yellow stone. It is in the southwest corner of the mosque, about 2 meters from the mosque. (Died. 1231 / M. 1815 – 1816) In addition, to the west of the entrance to the mosque from the courtyard, there is a single-faced fountain measuring 225 x 165 cm, with an inscription of 70 x 75 cm in the middle and soap dispensers on both sides and a groove in front of it. The sanctuary has a rectangular plan and a flat ceiling. The interior is illuminated by three rectangular lower windows on the east and west walls, two each on the south and north, and the upper windows above them. The mihrab has a half-round cylindrical body on the axis of the south wall. The pulpit was made of wood to the west of the mihrab. To the north of the sanctuary, there is a double-storey narthex that extends over the narthex. The narthex is supported by two large wooden posts inside and out. The side wings of the mahfil form a gallery extending towards the south (perpendicular to the qibla). This gallery sits on 7 slender columns and is connected to each other by bagdadi arches. The middle part of the mahfil protrudes to the south like a balcony. The assembly is reached by stairs in the southwest and northwest of the narthex. The minaret is located in the northwest corner where the sanctuary meets the narthex. The last congregation place in the north of the sanctuary is entered through a door on the axis of the mihrab. The sides of the last congregation place were closed with the extensions of the walls of the sanctuary, and the front was later covered with glass. The last congregation place is reached by a trapezoidal-shaped 4-step ladder. The narthex, the front part of which is opened out with two square-section wooden poles, is built in the form of a flat ceiling with the east and west antenna walls and the extension of the mahfil resting on these wooden poles.
There is no decoration outside the building. There are intense hand-drawn ornaments in the Harim. The mihrab in the form of a half-round niche is decorated with a decoration resembling a dome carried on thin rods. It has thin columns with twisted sides. Its pediment is crowned with fine plaster volutes, “C” and “S” folds, and a stained glass window. The lower ceiling of the harim, the lower and upper walls, the upper and lower walls of the harim and the spaces between them are completely decorated with hand-drawn embroidery. The lower parts of the walls are covered with panels imitating marble, and small flower motifs are located in lozenges formed by folded branch motifs. The most beautiful ornamental element of the sanctuary is the strip views on the "S" curved bagdadi cornice surface at the bottom of the thin and long upper galleries. On the eastern and western cornice surfaces, there are three strips with thin cartridges. There are scenes that are very similar to each other in the panels. The figure does not stand out at all. Only nature views are included. There are rural structures, mansions, tents, bridges, windmills, streams, fountains, small mosques and shops with their shutters open. The inscription “year 1230”, which is estimated to be the date of completion of the landscape paintings, is interesting in this landscape cartridge. Work; Due to its architectural features, it is one of the few places in the province that has been used as a place of worship until today.