Amir Khayrbak Funerary Complex, Mosque-Madrasa of Al-Amir Khair Bak or Khayrbak Mosque (Arabic: مسجد ومدرسة الأمير خاير بك) is a religious complex at Bab al-Wazir street (Darb al-Ahmar district), Islamic Cairo, Egypt. It originally consisted of a mausoleum established by the Ottoman governor of Egypt Khayr Bak in 1502 CE. Later he added a madrasa and a mosque, and annexed the adjacent Amir Alin Aq Palace (built in 1293) which was used by him as residence. On the surrounding area, there is Citadel of Cairo located on the southeast, Amir Alin Aq Palace on the southwest, Aqsunqur Mosque on the northeast side. It is one of many Circassian (Burji) style Mamluk architectures built during the Middle Ages.