1391 yılında Karaman oğlu Seyfeddin Süleyman kızı Nasiha Hatun tarafından Şeyh Şihab üd dün adına yaptırılmıştır. Mescid, imaret, zaviye, türbe ve sekiz derviş türesinden oluşan kompleks bir yapıdır. 1986 yılında Prof. Dr. Beyhan Karamağralı tarafından yapılan çalışmalar sonucunda çilehanenin temel duvarları restore edilmiştir. Arkeolojik kazı sonucunda Selçuklu dönemine ait çini, sırlı seramik mimari süsleme elemanı olan alçı stukolar ve II.Mahmut dönemine ait altın sikkeler bulunmuştur. Şeyh Şihab-üd din Suhreverdi tarikatındandı. Anadolunun bazı yerlerinde olduğu gibi Ereğlide de bir dergah açılmıştır.

 

Camiinin çevresinde imarethane, tabhane, hamam, kervansaray, arasta(çarşı), türbe, medrese, değirmen, şadırvan gibi yapılar topluluğu vardır. Yavuz Sultan Selim tarafından 1563 yılında yaptırılmıştır. Kitabesinde  “Ey Rabbimiz bu binayı bizden kabul et ve fazlın ile tövbemizi kabul ederek bize doğru yolu göster Allah onu kabul etsin “ denilmektedir.

 

In this complex of building there are imarethane (hospice), tabhane, a bath, a (caravanserai), a bazaar a tomb a medrese(muslim theological school), şadırvan (fountain for ritual ablutions). It was built  by Yavuz Sultan Selim  in 1563. The followings are written in it's inscription:”Oh, Mighty Lord!Accept this building as our gift to you. Forgive us and show us the true path. May God accept it.''

In 1391 it was built by Nasiha Hatun, the doughter of Karamanoğlu Seyfeedin Süleyman for Şeyh Sihab-ud. It's a complex of buildings which has got  a mescid (small mosque), an imaret(hospice),a zaviye(recluse's cell), a tomb and eight cells for derviş(dervish). In1986 the main walls were restored with the studies of Prof. Dr. Beyhan Karamağralı. Some  encaustic tiles, glazed ceramics, stukos used to make  decorations which dates back to Selcuks  and some golden coins dates back to II.Mahmut, were found Şeyh Şihab-ud din belonged to  'Suhreverdi'(It's a way in religion ). As in some places in Anatolia there was  a 'dergah'(dervish convent)in Ereğli.