No Prophet can bring a Miracle except by Allah's Leave
Allah said,
﴿ وَمَا كَانَ لِرَسُولٍ أَن يَأۡتِىَ بِـَٔايَةٍ إِلَّا بِإِذۡنِ ٱللَّهِۗ ﴾
(And it was not for a Messenger to bring a sign except by Allah's leave.) meaning, no Prophet could have brought a miracle to his people except by Allah's permission and will, for this matter is only decided by Allah the Exalted and Most Honored, not the Prophets; surely Allah does what He wills and decides what He wills.
﴿ لِكُلِّ أَجَلٍ۬ ڪِتَابٌ۬ ﴾
((For) every matter there is a decree (from Allah).) for every term appointed, there is a record (or decree) that keeps it, and everything has a specific due measure with Allah,
﴿ أَلَمۡ تَعۡلَمۡ أَنَّ ٱللَّهَ يَعۡلَمُ مَا فِى ٱلسَّمَآءِ وَٱلۡأَرۡضِۗ إِنَّ ذَٲلِكَ فِى كِتَـٰبٍۚ إِنَّ ذَٲلِكَ عَلَى ٱللَّهِ يَسِيرٌ۬ ﴾
(Know you not that Allah knows all that is in the heaven and on the earth Verily, it is (all) in the Book. Verily, that is easy for Allah.) (22:70)