Islamic tradition states that the Zamzam Well was opened up in some form by God to assist Hajar, the second wife of Ibrahim and mother of Ismaʿil. In Islamic narratives Ibrahim, commanded by God, led Hajar and Ismaʿil to the area of present-day Mecca, there he left them alone in the desert. The two are narrated to have been suffering severely from thirst. In some versions of the story Hajar walks back and forth between the two hills of Safa and Marwah in search of water. The story of the appearance of the well either involves the infant Isma'il scraping the ground with his feet and water springing out or God sending Gabriel (Jibra'il) who consequently opens up the well using a variety of methods depending on the narration. The wealth of mystic discourses discussing the history of the well is from the Abbasid era and largely extra-Quranic, as the well is not referred to directly by the Quran. According to Islamic tradition, Ibrahim rebuilt a shrine called near the site of the well. A building supposedly first constructed by Adam, which Muslim tradition regards as the origin of the Kaʿba. The well is meant to have dried up (possibly as punishment) during the settlement of the tribe of the Jurhum, who initially are meant to have migrated to the area from Yemen. In some narrations focused on the objects deposited in Zamzam the well simply dries up, then prior to the Jurhum being forced to leave Mecca because of God expelling them for their misdeeds their leader buries sacred objects from the Kaʿba in the location of Zamzam. In others, focused on the well itself, the objects are placed in Zamzam itself, with the well ultimately being buried by the leader of the Jurhum. Traditional rediscovery According to traditional Muslim accounts, ʿAbd al-Muṭṭalib, grandfather of Muhammad, is responsible for the rediscovery of the well. He supposedly had a divine precognition about the well at some point in his life. A common narrative relayed by Ibn Ishaq via Ibn Hisham involves four dreams, the first three concern mysterious objects called and he is meant to dig for, the fourth then names Zamzam. Other accounts omit the third dream naming . Following ʿAbd al-Muṭṭalib's precognitions to dig, he is claimed to have found a number of artefacts: golden gazelle figurines, armour, and several specimina of a type of sword called .