Kadınefendi (also "Kadın efendi", Ottoman Turkish: قادين افندی) was the title given to the imperial consort of the Sultan of the Ottoman Empire after the 17th century, and is translated as "kraliçe" in Turkish and "lady" in English.
 The Sultan could have up to four and some times five and eight women i.e. consort with the imperial rank of Kadınefendi and unlimited number of Ikbals i.e. consort with the rank of Hanımefendi.
 The title was a replacement of the early titles, Hatun and Sultan (including Haseki Sultan).
 When the Ottoman Empire was abolished on 1 November 1922 and Abdülmecid II proclaimed himself as caliph, his consorts kept the title kadınefendi.
The Haseki Sultan Complex (also Hürrem Sultan Complex) (Turkish: "Haseki Hürrem Sultan Külliyesi" ) is a 16th-century Ottoman mosque complex in the Fatih district of Istanbul, Turkey.
 It was the first royal project designed by the chief imperial architect Mimar Sinan.
Emetullah Rabia Gülnuş Sultan (fully "Devletlu İsmetlu Emetullah Rabia Gülnûş Valide Sultan Aliyyetü'ş-şân Hazretleri"; 1642 – 6 November 1715) was Haseki Sultan of Ottoman Sultan Mehmed IV and Valide Sultan to their sons Mustafa II and Ahmed III.
 She was the last imperial concubine to be legally married to an Ottoman Sultan.
Turhan Hatice Sultan (c. 1627 – 4 August 1683; "Turhan" meaning "Of mercy"), was Haseki Sultan of the Ottoman Sultan Ibrahim (reign 1640–48) and Valide Sultan as the mother of Mehmed IV (reign 1648–87).
 Turhan Hatice was prominent for the regency of her young son and her building patronage.
 She and her mother-in-law, Kösem Sultan, are the only two women in Ottoman history to be regarded as official regents and had supreme control over the Ottoman Empire.
 Turhan Hatice herself was the only one in Ottoman history to equally share the power of running the entire empire with Ottoman Sultan legally, although in fact she transferred her political power to the grand vizier.
 As a result, Turhan became one of the prominent figures during the era known as Sultanate of Women.
Haseki Sultan Imaret was an Ottoman public soup kitchen established in Jerusalem to feed the poor during the reign of Suleiman the Magnificent.
 The imaret was part of a massive Waqf complex built in 1552 by Haseki Hürrem Sultan, the favorite wife of Sultan Suleiman I.
 This soup kitchen was said to have fed at least 500 people twice a day.
Haseki Sultan (Ottoman Turkish: خاصکى سلطان‎ , "Ḫāṣekī Sulṭān;" ] ) was the imperial title used for the chief consort of an Ottoman Sultan.
 Haseki sultan meant "chief consort" or "single favorite" of the sultan.
 In later years, the meaning of the title changed to "imperial consort".
 Hürrem Sultan, principal consort of Suleiman the Magnificent, was the first holder of this title.
The Prison of Anemas (Turkish: "Anemas Zindanları" ) is a large Byzantine building attached to the walls of the city of Constantinople (modern Istanbul, Turkey).
 It is traditionally identified with the prisons named after Michael Anemas, a Byzantine general who rose in unsuccessful revolt against Emperor Alexios I Komnenos (r. 1081–1118) and was the first person to be imprisoned there.
 The prison features prominently in the last centuries of the Byzantine Empire, when four Byzantine emperors were imprisoned there.
Hürrem Sultan (] , Ottoman Turkish: خرم سلطان‎ , "Ḫurrem Sulṭān"; 1502 – 15 April 1558) was the favourite and later the chief consort and legal wife of Ottoman Sultan Süleyman the Magnificent.
 She had six children with Süleyman: Şehzade Mehmed, Mihrimah Sultan, Şehzade Abdullah, Sultan Selim II, Şehzade Bayezid, and Şehzade Cihangir.
 She was one of the most powerful and influential women in Ottoman history and a prominent and controversial figure during the era known as the Sultanate of Women.
 She was "Haseki Sultan" (favorite of the Sultan) when her husband, Süleyman I, reigned as the Ottoman sultan.
 She achieved power and influenced the politics of the Ottoman Empire through her husband and played an active role in state affairs of the Empire.
Kösem Sultan (Ottoman Turkish: كوسم سلطان‎ , ] ) (" " 1589 – 2 September 1651) – also known as Mahpeyker Sultan (] ; "Māh-peyker") – was one of the most powerful women in Ottoman history.
 Kösem achieved power and influenced the politics of the Ottoman Empire when she became Haseki Sultan as favourite consort and later legal wife of Ottoman Sultan Ahmed I (r. 1603–1617) and Valide Sultan as mother of Murad IV (r. 1623–1640) and Ibrahim (r. 1640–1648), and grandmother of Mehmed IV (r. 1648–1687).
 She was one of the prominent figures during the Sultanate of Women.
Afife Nurbanu Sultan (Ottoman Turkish: نور بانو سلطان‎ ; 1525 – 7 December 1583) was Haseki Sultan of the Ottoman Empire as the principal consort and later legal wife of Sultan Selim II (reign 1566–1574), as well as Valide Sultan as the mother of Sultan Murad III (reign 1574–1595).
 Conflicting theories ascribe her a Venetian, Jewish or Greek origin.
 Her birth name may have been Cecilia Venier-Baffo, Rachel or Kalē Kartanou.
 Nurbanu was one of the prominent figures during the era known as Sultanate of Women.

Question: The Prison of Anemas and the Haseki Sultan Complex where both located where?
Answer: Istanbul, Turkey