Whenever Prophet Zakariyya (pbuh) visited Sayyida Maryam who was under his protection, he saw fruits out of season in her room. He asked her where they were from.
She replied, “It is from Allah…” 3:37
There and then, Zakariyya asks Allah at the age of 75 for a child.
هُنَالِكَ دَعَا زَكَرِيَّا رَبَّهُ ۖ قَالَ رَبِّ هَبْ لِي مِنْ لَدُنْكَ ذُرِّيَّةً طَيِّبَةً ۖ إِنَّكَ سَمِيعُ الدُّعَاءِ
There and then did Zakariyya call out to His Master; He said: My Master ! grant me from You a righteous child; surely You are the Hearer of prayer. 3:38
Al Qaadir granted him Yahya although his wife was old and had no previous children.