There is little certain information about the shrine before the Marinid era (14-15th centuries). The history of both the shrine and the religious culture surrounding it is not clearly traceable until the resurgence of the sharifs (families and dynasties recognized as descending from the Prophet Muhammad) in Morocco's political and religious life which took place slowly during the Marinid period.[5]