sentences:  The earliest reference to her is in the anonymous 12th-century text "Kitab al-Istibsar", where it says "In her time there was none more beautiful or intelligent or witty ... she was married to Yusuf, who built Marrakech for her".This work names her father as Ibrāhīm an-Nafzāwi, a merchant originally from Kairouan.According to Ibn Khaldun, she first became the concubine of Yusuf ibn Ali, chief of the Wurika and Aylana Berber tribes about Aghmat in Morocco.