One day, Ibraheem woke up and asked his wife Hajar to get her son and prepare for a long journey. In a few days Ibraheem started out with his wife Hajar and their son Isma’il. The child was still nursing and not yet weaned. Ibraheem walked through cultivated land, desert, and mountains until he reached the desert of the Arabian Peninsula and came to an uncultivated valley having no fruit, no trees, no food, no water. The valley had no sign of life. After Ibraheem had helped his wife and child to dismount, he left them with a small amount of food and water which was hardly enough for 2 days. He turned around and walked away. His wife hurried after him asking: "Where are you going Ibraheem, leaving us in this barren valley?"
Ibraheem did not answer her, but continued walking. She repeated what she had said, but he remained silent. Finally she understood that he was not acting on his own initiative. she realised that Allah had commanded him to do this. She asked him "Did Allah command you to do so?" He replied "Yes." Then his great wife said "We are not going to be lost, since Allah Who has commanded you is with us." Ibraheem invoked Almighty Allah saying,
"O Our Lord! I have made some of my offspring to dwell in a valley with no cultivation, by Your Sacred House (the Ka'ba at Mecca); in order, O our Lord, that they may offer prayers perfectly (Iqamat as salat) so fill some hearts among men with love towards them, and O Allah provide them with fruits so that they may give thanks. O our Lord! Certainly, You know what we conceal and what we reveal. Nothing on the earth or in the heavens is hidden from Allah."
Ibn Abbas's narration continued; "Isma’il's mother went on suckling Isma’il and drinking from the water (she had) When the water in the water skin had been used up, she became thirsty and her child also became thirsty, She started looking at him (Isma’il) tossing in agony. She left him, for she could not endure looking at him, and found that the mountain of As-Safa was the nearest mountain to her on that land. she too on it and started looking at the valley keenly so that she might see somebody, but she could not see anybody. Then she descended for As Safa and when she reached the valley, she tucked up her robe and ran in the valley like a person in distress and trouble till she crossed the valley and reached the mountain of Al Marwa. There she stood and started looking expecting to see somebody, but she could not see anybody. She repeated that running between Safa And Marwa seven times."
The prophet Muhammad (pbuh) said: "This is the source of the tradition of the Sa'y (rituals of the hajj, pilgrimage) the going of people between them (As-Safa and Al-Marwa). When she reached Al Marwa (for the last time) she heard a voice and she asked herself to be quiet and listened attentively. She heard the voice again and said: "O whoever you maybe! You have made me hear your voice; have you got something to help me?" And behold! She saw an angel at the place of Zam zam, digging the earth with his heel (or his wing) till water flowed from that place. She started to make something like a basin around it, using her hand in this way, and started filling her water skin with water with her hands and the water was flowing out water she had scooped some of it." The Prophet (pbuh) added: "May Allah bestow mercy on Isma’il's mother! Had she let the zam-zam flow without trying to control it, or had she not scooped from that water to fill her water skin, Zam zam would have been a stream flowing on the surface of the earth."
The Prophet (pbuh) continued: "Then she drank water and suckled her child. The angel said to her: "Don't be afraid of being neglected, for this is the House of Allah which will be built by this boy and his father, and Allah never neglects His people." The House (Kaba) at that time was on a high place resembling a hillock, and when torrents came, they flowed to its right and left. "She lived in that way till some people from the tribe of Jurhum or a family from Jurhum passed by her and her child as they (the Jurhum people) were coming through the way of Kada. they landed in the lower part of Mecca where they saw a bird that had the habit of flying around water and not leaving it. they said: "this bird must be flying around water, though we know that there is no water in this valley."
They sent one or two messengers who discovered the source of water and returned to inform them of the water. So they all came towards the water. Isma’il's mother was sitting near the water. They asked her: "Do you allow us to stay with you?" She replied: "Yes, but you will have no right to possess the water." They agreed to that. Isma’il's mother was pleased with the whole situation, as she used to love to enjoy the company of the people, so they settled there, and later on they sent for their families who came and settled with them so that some families became permanent residents there. The child (Isma’il) grew up and learned Arabic from them and (his virtues) caused them to love and admire him as he grew up and when he reached the age of puberty they made him marry a woman from amongst them."
The Prophet (pbuh) continued: "After Isma’il's mother had died, Ibraheem came after Isma’il's marriage in order to see his family that he had left before but he did not find Isma’il there. When he asked Isma’il's wife about him, she replied: "He has gone in search of livelihood." Then he asked her about their way of living and their condition, and she replied, "We are living in misery; we are living in hardship and destitution," complaining to him. He said: "When your husband returns, convey my salutations to him and tell him to change the threshold of the gate (of his house)."
When Isma’il came, he seemed to have felt something unusual, so he asked his wife: "Has anyone visited you?" she replied, "Yes, an old man of such and such description came and asked me about you and I informed him and he asked about our state of living and I told him that we were living in a hardship and poverty." On that Isma’il said: "Did he advise you anything?" She said: "Yes he told me to convey his salutation to you and to tell you to change the threshold of your gate." Isma’il said: "It was my father and he has ordered me to divorce you. Go back to your family." So, Isma’il divorced her and married another woman from among them (Jurhum).
"Then Ibraheem stayed away from them for a period as long as Allah wished and called on them again but did not find Isma’il. So he came to Isma’il's wife and asked her about Isma’il. She said: 'he has gone in sof our livelihood.' Ibraheem asked her; 'how are you getting on?' asking her about their sustenance and living. she replied: 'we are prosperous and well off (we have everything in abundance).' then she thanked Allah. Ibraheem said: 'What kind of food do you eat?' she said: 'meat.' he said: 'what do you drink?' she said: 'water.' he said: 'O Allah! bless their meat and water.""
The Prophet (pbuh) added: "At that time they did not have grain, and if they had grain he would have also invoked Allah to bless it. If somebody has only these two things as his sustenance, his health and disposition will be badly affected unless he lives in Mecca."
The Prophet (pbuh) continued: "Then Ibraheem said to Isma’il's wife: 'When your husband comes give my regards to him and tell him that he should keep firm the threshold of his gate.' When Isma’il came back he asked his wife, 'did anyone call no you?' she replied: 'yes, a good looking old man came to me,' so she praised him and added: 'He asked about you and I informed him that we were in a good condition.' Isma’il asked her:' did he give you any piece of advice?'
she said; 'yes, he told me to give his regards to you and ordered that you should keep firm the threshold of your gate.' on that Isma’il said: 'It was my father, and you are the threshold of the gate. He has ordered me to keep you with me.'
Then Ibraheem stayed away from them for a period as long as Allah wished and called on them afterwards. He saw Isma’il under a tree near Zam Zam, sharpening his arrows. When he saw Ibraheem, he rose up to welcome him (and they greeted each other as a father does with his son or a son does with his father). Ibraheem said: 'O Isma’il! Allah has give me an order.' Isma’il said: 'Do what your Lord has ordered you to do.' Ibraheem asked:'Will you help me?' Isma’il said: 'I will help you.' Ibraheem said: 'Allah has ordered me to build a house here,' pointing to a hillock higher than the land surrounding it.
"Then they raised the foundations of the House (the Kaba). Isma’il brought the stones while Ibraheem built and when the walls became high Isma’il brought this stone and put it for Ibraheem who stood over it and carried on building. While Isma’il was handing him the stones, and both of them were saying:
"Our Lord! Accept this service from us, verily, You are the All Hearer, the All Knower." (Ch 2:127 Quran)
The Prophet (pbuh) added: "Then both of them went on building and going round the Kaba saying:
"O our Lord! Accept this service from us, verily, You are the All Hearer, the All Knower."; (Sahih Bukhari).
When the building became high and the old man (Ibraheem) could no longer lift the stones to such a high position, he stood over the stone of Al Maqam and Isma’il carried on handing him the stones and both of them were saying:
"O our Lord! Accept this service of us, verily You are the All Hearer, the All Knower.""