Ibrahim's Supplication to Allah when He brought Isma`il to Makkah
Allah tells;
وَإِذْ قَالَ إِبْرَاهِيمُ
And (remember) when Ibrahim said;
Allah mentions here, while bringing forth more evidences against Arab polytheists, that the Sacred House in Makkah was established on the worship of Allah alone, without partners. He also states that Ibrahim, who established the city, has disowned those who worship others besides Allah, and that he begged Allah to make Makkah peaceful and secure,
رَبِّ اجْعَلْ هَـذَا الْبَلَدَ امِنًا
O my Lord! Make this city (Makkah) of peace and security,
and Allah accepted his supplication.
Allah said in other Ayat,
أَوَلَمْ يَرَوْاْ أَنَّا جَعَلْنَا حَرَماً ءامِناً
Have they not seen that We have made (Makkah) a secure sanctuary. (29;67)
and,
إِنَّ أَوَّلَ بَيْتٍ وُضِعَ لِلنَّاسِ لَلَّذِى بِبَكَّةَ مُبَارَكاً وَهُدًى لِّلْعَـلَمِينَ فِيهِ ءَايَـتٌ بَيِّـنَـتٌ مَّقَامُ إِبْرَهِيمَ وَمَن دَخَلَهُ كَانَ ءَامِناً
Verily, the first House (of worship) appointed for mankind was that at Bakkah (Makkah), full of blessing, and a guidance for Al-'Alamin. In it are manifest signs, the Maqam of Ibrahim; whosoever enters it, he attains security. (3;96)
Allah said here that Ibrahim supplicated,
رَبِّ اجْعَلْ هَـذَا الْبَلَدَ امِنًا
(O my Lord! Make this city (Makkah) a of peace and security), saying, "this city," after he established it, and this is why he said afterwards,
الْحَمْدُ للَّهِ الَّذِى وَهَبَ لِى عَلَى الْكِبَرِ إِسْمَـعِيلَ وَإِسْحَـقَ
All praise is due to Allah, Who has given me in old age Ismail and Ishaq. (14;39)
It is well-known that Ismail was thirteen years older than Ishaq. When Ibrahim took Ismail and his mother to Makkah, while Ismail was still young enough to nurse, he supplicated to Allah,
رَبِّ اجْعَلْ هَـذَا بَلَدًا امِنًا
O my Lord! Make this city (Makkah) a place of peace and security. (2;126) as we in explained in Surah Al-Baqarah.
Ibrahim then said,
وَاجْنُبْنِي وَبَنِيَّ أَن نَّعْبُدَ الَاصْنَامَ
and keep me and my sons away from worshipping idols.
It is proper for whoever supplicates to Allah to also ask for the benefit of his parents and offspring, as well as himself.
Ibrahim then said;
رَبِّ إِنَّهُنَّ أَضْلَلْنَ كَثِيرًا مِّنَ النَّاسِ فَمَن تَبِعَنِي فَإِنَّهُ مِنِّي وَمَنْ عَصَانِي فَإِنَّكَ غَفُورٌ رَّحِيمٌ