All Prophets and Messengers were Humans
Allah says,
وَلَقَدْ أَرْسَلْنَا رُسُلً مِّن قَبْلِكَ وَجَعَلْنَا لَهُمْ أَزْوَاجًا وَذُرِّيَّةً
And indeed We sent Messengers before you, and made for them wives and offspring.
Allah says, `Just as We have sent you O Muhammad, a Prophet and a human, We sent the Messengers before you from among mankind, that eat food, walk in the markets, and We gave them wives and offspring.'
Allah said to the most honorable and Final Messenger,
قُلْ إِنَّمَأ أَنَاْ بَشَرٌ مِّثْلُكُمْ يُوحَى إِلَىَّ
Say;"I am only a man like you. It has been revealed to me." (18;110)
It is recorded in the Two Sahihs that the Messenger of Allah said,
أَمَّا أَنَا فَأَصُومُ وَأُفْطِرُ وَأَقُومُ وَأَنَامُ وَاكُلُ اللَّحْمَ وَأَتَزَوَّجُ النِّسَاءَ فَمَنْ رَغِبَ عَنْ سُنَّتِي فَلَيْسَ مِنِّي
As for me, I fast and break the fast, stand in prayer at night and sleep, eat meat and marry women; so whoever turns away from my Sunnah is not of mine.
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)
Meaning of Allah blotting out what He wills and confirming what He wills of the Book
Allah said