Book Name:Sayyiduna Zakariyya kay Waqiat aur Sayyidah Maryam ki Shan-o-Azmat
thought in his mind, he عَـلَيْـهِ الـسَّـلَام made Du’a for pure offspring right there, i.e. in the arch of Bayt-ul-Muqaddas, by shutting the doors. (Tafseer Khaazin, Aal-e-‘Imran, Taht-al-Ayah: 37, vol. 1, pp. 246)
When he عَـلَيْـهِ الـسَّـلَام supplicated for offspring, he was 120 years old at that time and his wife was 98 years old. (Siraat-ul-Jinaan, vol. 1, pp. 470)
The event of him making Du’a in the arch of Maryam has been mentioned in the Glorious Quran. Therefore, Allah Almighty states in part 3, Surah Aal-e-‘Imran, Ayah no. 38 and 39:
هُنَالِكَ دَعَا زَكَرِیَّا رَبَّهٗۚ-قَالَ رَبِّ هَبْ لِیْ مِنْ لَّدُنْكَ ذُرِّیَّةً طَیِّبَةًۚ-اِنَّكَ سَمِیْعُ الدُّعَآءِ(۳۸) فَنَادَتْهُ الْمَلٰٓىٕكَةُ وَ هُوَ قَآىٕمٌ یُّصَلِّیْ فِی الْمِحْرَابِۙ-اَنَّ اللّٰهَ یُبَشِّرُكَ بِیَحْیٰى مُصَدِّقًۢا بِكَلِمَةٍ مِّنَ اللّٰهِ وَ سَیِّدًا وَّ حَصُوْرًا وَّ نَبِیًّا مِّنَ الصّٰلِحِیْنَ(۳۹)
Translation from Kanz-ul-Iman: At that place, Zakariyya supplicated to his Lord. He requested, ‘O my Lord! Give me from Your Court a righteous offspring. Indeed, only You are the Acceptor of supplication.’ And whilst he was praying in a standing position at his place of worship, the angels called out to him, ‘Indeed Allah gives you glad tidings of Yahya (John), who will verify a Word from Allah (Prophet ‘Isa); a leader, and always refraining from women, a Prophet from one of Our selected individuals.’
The Du’a of Sayyiduna Zakariyya عَـلَيْـهِ الـسَّـلَام was accepted. He عَـلَيْـهِ الـسَّـلَام suddenly saw a young man in white clothes in the same arch where he عَـلَيْـهِ الـسَّـلَام was engaged in Salah and supplication despite all doors being shut. He was Sayyiduna Jibra`eel عَـلَيْـهِ الـسَّـلَام. He عَـلَيْـهِ الـسَّـلَام gave him the glad tidings of a son (and also told him the name that) his name will be Yahya. (Siraat-ul-Jinaan, vol. 1, pp. 469; summarised)
صَلُّوۡا عَلَى الۡحَبِيۡب صَلَّى اللّٰهُ تَعَالٰى عَلٰى مُحَمَّد