Then the angels called out to Zakariya while he was standing in prayer in the sanctuary, that Allah gives you the glad tidings of Yahya, who will be a confirmation of a word from Allah, a leader, chaste, and a prophet from among the righteous. Zakariya said: O my Lord! How can I have a child when I have grown old and my wife is barren? Allah said: Thus Allah does what He wills. Zakariya said: O my Lord! Appoint for me a sign. Allah said: Your sign is that you will not speak to the people for three nights, though sound. And remember your Lord much and glorify Him in the evening and the morning.

Quran 3 : 39-41

Indeed, Allah is the Bestower of provision.