Prophet Ibrahim (Abraham) in the Quran: His Story, Trials and Duas
Ibrāhīm (Abraham), peace be upon him, is one of the greatest prophets in Islam. Allah calls him His khalīl, His close friend. Jews, Christians and Muslims all trace their faith back to him, and the Quran mentions him by name around 69 times, more than any prophet except Mūsā. A whole surah, Surah Ibrahim, carries his name.
He is also part of every Muslim's daily life. Each prayer ends by asking Allah to bless Muhammad ﷺ "as You blessed Ibrāhīm", and every Hajj and every Eid al-Adha re-enacts moments from his family's story.
This article follows his life through the Quran, verse by verse, with the authentic hadith that fill in the details.
Who was Ibrahim?
The Quran does not give dates or places for his early life. Muslim historians, drawing on older traditions, place his birth in Mesopotamia (in today's Iraq), among a people who worshipped idols and the heavenly bodies. His father is named in the Quran as Āzar (6:74).
From there he travelled to the land of Shām (greater Syria and Palestine), and later to the valley of Makkah. He was the father of two prophets: Ismāʿīl (Ishmael), through his wife Hājar, and Isḥāq (Isaac), through his wife Sārah. The Prophet Muhammad ﷺ is descended from Ismāʿīl; the prophets of the Children of Israel, from Yaʿqūb (Jacob) to ʿĪsā (Jesus), are descended from Isḥāq.
Looking for his Lord in the sky
Surah Al-Anʿām describes Ibrahim looking at the night sky with his people. He saw a star and said, "This is my lord", but when it set he said, "I like not those that set." He did the same with the moon, and then with the sun, which was "greater". When the sun set too, he declared:
إِنِّي وَجَّهۡتُ وَجۡهِيَ لِلَّذِي فَطَرَ ٱلسَّمَٰوَٰتِ وَٱلۡأَرۡضَ حَنِيفٗاۖ وَمَآ أَنَا۠ مِنَ ٱلۡمُشۡرِكِينَ
Indeed, I have turned my face [i.e., self] toward He who created the heavens and the earth, inclining toward truth, and I am not of those who associate others with Allāh." (6:79)
Most commentators, including Ibn Kathīr, read this passage as a debate with his people rather than a personal search: Ibrahim takes their own objects of worship one by one and shows that each disappears, so none of them can be the Lord who never fades. Read the whole passage at 6:74–83.
Calling his father with gentleness
Ibrahim's first audience was his own father, who made and served idols. Surah Maryam records how he spoke to him, opening every appeal with yā abati, "O my dear father":
[Mention] when he said to his father, "O my father, why do you worship that which does not hear and does not see and will not benefit you at all? (19:42)
His father threatened to stone him and told him to leave. Ibrahim did not answer harshly:
قَالَ سَلَٰمٌ عَلَيۡكَۖ سَأَسۡتَغۡفِرُ لَكَ رَبِّيٓۖ إِنَّهُۥ كَانَ بِي حَفِيّٗا
[Abraham] said, "Peace [i.e., safety] will be upon you. I will ask forgiveness for you of my Lord. Indeed, He is ever gracious to me. (19:47)
He kept his promise to pray for his father until it became clear that his father was an enemy of Allah, and then he stopped (9:114). It is a model for anyone whose family does not share their faith: firm about the truth, and kind in how it is said.
Breaking the idols
When his people went out to a festival, Ibrahim stayed behind. He had told them, "By Allah, I will surely plan against your idols after you have turned and gone away" (21:57). He broke the statues into pieces, all except the largest one.
When they came back and asked who had done it, he pointed to the big idol: "Rather, this, the largest of them, did it, so ask them, if they should [be able to] speak" (21:63). For a moment they saw the point: they knew the idols could not speak. But pride won, and they decided to burn him alive (21:68). They built a great fire and threw him into it. Allah said:
قُلۡنَا يَٰنَارُ كُونِي بَرۡدٗا وَسَلَٰمًا عَلَىٰٓ إِبۡرَٰهِيمَ
We [i.e., Allāh] said, "O fire, be coolness and safety upon Abraham." (21:69)
He walked out unharmed. The story is told in full in Surah Al-Anbiyāʾ 21:51–70, and again, with more of the argument, in Surah Aṣ-Ṣāffāt 37:83–98.
The argument with the king
The Quran also records Ibrahim debating a king who claimed divine power (2:258). Ibrahim said, "My Lord is the one who gives life and causes death." The king answered, "I give life and cause death." (The commentators explain that he meant he could execute one prisoner and spare another.) So Ibrahim gave him a sign no tyrant could fake: "Indeed, Allah brings up the sun from the east, so bring it up from the west." The verse goes on: "So the disbeliever was overwhelmed."
"So that my heart may be at rest"
In one of the most human moments in his story, Ibrahim asked Allah to show him how He gives life to the dead. Allah asked, "Have you not believed?" He replied, "Yes, but [I ask] only that my heart may be satisfied." Allah told him to take four birds, cut them and place parts on different hills, then call them, and they came flying back to him (2:260).
The Prophet ﷺ said, "We are more entitled to doubt than Ibrāhīm" (Sahih al-Bukhari 3372). Scholars explain this as humility and a defence of Ibrahim: if the Prophet ﷺ himself did not doubt, then Ibrahim certainly did not. His request was for the certainty of seeing, on top of a faith that was already complete.
Hajar and Ismail in the valley of Makkah
Allah commanded Ibrahim to take Hājar and their baby, Ismāʿīl, to a barren valley with no water and no people, and leave them there. Ibn ʿAbbās narrated the story at length. As Ibrahim turned to go, Hajar asked him again and again why he was leaving them. He did not answer. Then she asked, "Has Allah commanded you to do this?" He said yes. She replied, "Then He will not let us be lost." (Sahih al-Bukhari 3364)
When he was out of sight, Ibrahim turned towards the place of the House and prayed:
رَّبَّنَآ إِنِّيٓ أَسۡكَنتُ مِن ذُرِّيَّتِي بِوَادٍ غَيۡرِ ذِي زَرۡعٍ عِندَ بَيۡتِكَ ٱلۡمُحَرَّمِ رَبَّنَا لِيُقِيمُواْ ٱلصَّلَوٰةَ فَٱجۡعَلۡ أَفۡـِٔدَةٗ مِّنَ ٱلنَّاسِ تَهۡوِيٓ إِلَيۡهِمۡ وَٱرۡزُقۡهُم مِّنَ ٱلثَّمَرَٰتِ لَعَلَّهُمۡ يَشۡكُرُونَ
Our Lord, I have settled some of my descendants in an uncultivated valley near Your sacred House, our Lord, that they may establish prayer. So make hearts among the people incline toward them and provide for them from the fruits that they might be grateful. (14:37)
When the water ran out, Hajar ran seven times between the hills of Ṣafā and Marwah looking for help. Then the angel Jibrīl struck the ground and the spring of Zamzam burst out. The Prophet ﷺ said that this is why the pilgrims walk between Safa and Marwah (Sahih al-Bukhari 3364). The dua was answered too: Makkah is the city every Muslim heart now turns towards.
Building the Kaaba
Years later, Ibrahim returned and, with Ismail grown up, raised the foundations of the Kaaba. Ismail brought the stones and Ibrahim built, and as they worked they prayed:
وَإِذۡ يَرۡفَعُ إِبۡرَٰهِـۧمُ ٱلۡقَوَاعِدَ مِنَ ٱلۡبَيۡتِ وَإِسۡمَٰعِيلُ رَبَّنَا تَقَبَّلۡ مِنَّآۖ إِنَّكَ أَنتَ ٱلسَّمِيعُ ٱلۡعَلِيمُ
And [mention] when Abraham was raising the foundations of the House and [with him] Ishmael, [saying], "Our Lord, accept [this] from us. Indeed, You are the Hearing, the Knowing. (2:127)
They continued with a prayer for their descendants: "Our Lord, and send among them a messenger from themselves who will recite to them Your verses and teach them the Book and wisdom and purify them" (2:129). Muslims understand the Prophet Muhammad ﷺ, born in Makkah from Ismail's line, as the answer to that dua; he is reported to have said, "I am the dua of my father Ibrāhīm" (reported by Aḥmad).
The stone Ibrahim stood on while building, the Maqām Ibrāhīm, still stands near the Kaaba, and the Quran tells pilgrims to pray there (2:125). The story of these verses, and more of the duas Ibrahim made, is in our article on the Rabbana duas.
The great sacrifice
The hardest test came when his son was old enough to walk and work beside him:
فَلَمَّا بَلَغَ مَعَهُ ٱلسَّعۡيَ قَالَ يَٰبُنَيَّ إِنِّيٓ أَرَىٰ فِي ٱلۡمَنَامِ أَنِّيٓ أَذۡبَحُكَ فَٱنظُرۡ مَاذَا تَرَىٰۚ قَالَ يَٰٓأَبَتِ ٱفۡعَلۡ مَا تُؤۡمَرُۖ سَتَجِدُنِيٓ إِن شَآءَ ٱللَّهُ مِنَ ٱلصَّٰبِرِينَ
And when he reached with him [the age of] exertion, he said, "O my son, indeed I have seen in a dream that I [must] sacrifice you, so see what you think." He said, "O my father, do as you are commanded. You will find me, if Allāh wills, of the steadfast." (37:102)
Father and son both submitted. Ibrahim laid his son down on his forehead, and Allah called out to him: "O Abraham, you have fulfilled the vision. Indeed, We thus reward the doers of good. Indeed, this was the clear trial. And We ransomed him with a great sacrifice" (37:103–107).
The Quran does not name the son in this passage. Most scholars hold that he was Ismāʿīl, because the good news of Isḥāq's birth is given afterwards, as a reward for Ibrahim's obedience (37:112), and because the ram and the rites are tied to Makkah, where Ismail lived.
Every Eid al-Adha, Muslims around the world offer a sacrifice in memory of this moment. The point, as the Quran says of the sacrifice, is not the meat or the blood: "it is the piety from you that reaches Him" (22:37).
Guests with good news
Late in life, Ibrahim and Sarah still had no child together. One day angels came to him in the form of men. Not recognising them, he hurried to honour his guests:
And certainly did Our messengers [i.e., angels] come to Abraham with good tidings; they said, "Peace." He said, "Peace," and did not delay in bringing [them] a roasted calf. (11:69)
When they did not eat, he became uneasy, and they told him they had been sent to the people of Lūṭ. Then they gave the good news:
And his wife was standing, and she smiled. Then We gave her good tidings of Isaac and after Isaac, Jacob. (11:71)
Sarah was amazed: she was old and her husband was old (11:72). The scene, told again in Surah Adh-Dhāriyāt 51:24–30, is why Ibrahim is remembered as the model of generosity to guests.
The friend of Allah
The Quran gives Ibrahim titles it gives no one else. He is the khalīl, the intimate friend:
وَمَنۡ أَحۡسَنُ دِينٗا مِّمَّنۡ أَسۡلَمَ وَجۡهَهُۥ لِلَّهِ وَهُوَ مُحۡسِنٞ وَٱتَّبَعَ مِلَّةَ إِبۡرَٰهِيمَ حَنِيفٗاۗ وَٱتَّخَذَ ٱللَّهُ إِبۡرَٰهِيمَ خَلِيلٗا
And who is better in religion than one who submits himself to Allāh while being a doer of good and follows the religion of Abraham, inclining toward truth? And Allāh took Abraham as an intimate friend. (4:125)
He is called "a nation" in himself, a ḥanīf who turned away from every false god (16:120), and "Ibrahim who fulfilled" (53:37). He "was neither a Jew nor a Christian, but he was one inclining toward truth, a Muslim" (3:67), and believers are told that they have "an excellent pattern" in him (60:4).
When a man addressed the Prophet ﷺ as "the best of creation", he answered, "That is Ibrāhīm" (Sahih Muslim 2369). On the night of the Miʿrāj, the Prophet ﷺ met him in the seventh heaven, leaning against the Bayt al-Maʿmūr, the House visited every day by seventy thousand angels (Sahih Muslim 162). And on the Day of Resurrection, Ibrahim will be the first person to be clothed (Sahih al-Bukhari 3349).
Ibrahim in every prayer
When the Companions asked how they should send blessings on the Prophet ﷺ, he taught them the words now known as the Durūd Ibrāhīmī, recited in the final sitting of every prayer (Sahih al-Bukhari 3370):
اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ وَعَلَى آلِ مُحَمَّدٍ، كَمَا صَلَّيْتَ عَلَى إِبْرَاهِيمَ وَعَلَى آلِ إِبْرَاهِيمَ، إِنَّكَ حَمِيدٌ مَجِيدٌ، اللَّهُمَّ بَارِكْ عَلَى مُحَمَّدٍ وَعَلَى آلِ مُحَمَّدٍ، كَمَا بَارَكْتَ عَلَى إِبْرَاهِيمَ وَعَلَى آلِ إِبْرَاهِيمَ، إِنَّكَ حَمِيدٌ مَجِيدٌ
O Allah, send prayers on Muhammad and on the family of Muhammad, as You sent prayers on Ibrāhīm and on the family of Ibrāhīm; You are Praiseworthy, Glorious. O Allah, bless Muhammad and the family of Muhammad, as You blessed Ibrāhīm and the family of Ibrāhīm; You are Praiseworthy, Glorious.
Five times a day, then, Muslims hold up Ibrahim's family as the example of how Allah blesses those He loves.
A dua of Ibrahim to learn
Among the duas Ibrahim made in Makkah is this short one, which many Muslims say at the end of their prayer:
رَبِّ ٱجۡعَلۡنِي مُقِيمَ ٱلصَّلَوٰةِ وَمِن ذُرِّيَّتِيۚ رَبَّنَا وَتَقَبَّلۡ دُعَآءِ
رَبَّنَا ٱغۡفِرۡ لِي وَلِوَٰلِدَيَّ وَلِلۡمُؤۡمِنِينَ يَوۡمَ يَقُومُ ٱلۡحِسَابُ
My Lord, make me an establisher of prayer, and [many] from my descendants. Our Lord, and accept my supplication. Our Lord, forgive me and my parents and the believers the Day the account is established." (14:40–41)
He asked first for himself to keep up the prayer, then for his children, then forgiveness for his parents and for every believer. Every part of his story ends the same way: in a dua.
What his story teaches
- Think about what you worship. Ibrahim's faith began with honest questions, and he used reason to bring others to the truth.
- Truth with gentleness. He was unbending about idols and tender with his father.
- Trust when nothing makes sense. Hajar in the empty valley and Ibrahim with the knife were both tested beyond what reason could explain, and both trusted Allah.
- Give your best to Allah. He was asked for the dearest thing he had, and he did not hold back.
- Pray for the generations after you. Many of his duas were for children and descendants he would never meet, and they were answered for thousands of years.
Read his story in the Quran
The main passages about Ibrahim are Surah Al-Baqarah 2:124–141, Al-Anʿām 6:74–83, Hūd 11:69–76, Ibrāhīm 14:35–41, Maryam 19:41–50, Al-Anbiyāʾ 21:51–73, Ash-Shuʿarāʾ 26:69–89 and Aṣ-Ṣāffāt 37:83–113. Each verse has its own page, with Arabic in the Uthmani or IndoPak script, translation and recitation.
Sources
- The Quran, in the Saheeh International translation: the verses linked above
- Sahih al-Bukhari 3349, 3364, 3370 and 3372
- Sahih Muslim 162 and 2369
- The "dua of my father Ibrāhīm" hadith, Musnad Aḥmad
- The commentaries (tafsīr) of al-Ṭabarī and Ibn Kathīr on 2:258, 6:74–83 and 37:99–113, and Ibn Kathīr's Qaṣaṣ al-Anbiyāʾ
The wording of the hadith above is summarised rather than translated word for word; follow the links to read the full narrations. For questions of belief and practice, please ask a qualified scholar.