Quoted from the book (An Hour with Ghosts) ByMohammed-Ali Hassan Al-Hilli
Miracles of the Prophets

God gave to everyone of His prophets a miracle special for him only, and not for anyone else, so that that prophet could not bring about another one from himself except only that which God would permit; e.g. if Pharaoh said to Moses: "I don't accept from you this staff which you cast and it becomes a serpent; but I shall give you [another] staff to cast it on the ground and let it be a serpent", then that staff would not be a serpent by the hand of Moses, except the particular one which God had prepared for Moses and ordered him to take it to Pharaoh.

Similarly, all the prophets and messengers could not bring miracles from their own selves except that God gave to every messenger a miracle special for him apart from anyone else.

God – be glorified – said in the Quran 13: 38
وَمَا كَانَ لِرَسُولٍ أَن يَأْتِيَ بِآيَةٍ إِلاَّ بِإِذْنِ اللّهِ
The explanation:
(And it was never the part of any messenger to bring a miracle except as God permitted.)
The word آيَةٍ or "aya" means here the miracle, and the meaning is: Any messenger [of God] cannot bring any miracle from himself except that miracle given to him and that he is permitted to use.
Pagan Arabs asked of Prophet Mohammed a large number of miracles, of which the prophet could not bring anyone other than the Quran which God sent down on him with Gabriel through inspiration. This is indicated by His saying – be glorified –in the Quran 29: 51
أَوَلَمْ يَكْفِهِمْ أَنَّا أَنزَلْنَا عَلَيْكَ الْكِتَابَ يُتْلَى عَلَيْهِمْ

The explanation:
(And is it not enough for them that We have sent down to you [Mohammed] the Book [: the Quran] which is rehearsed to them? Surely, in that is a mercy and an admonition to a people who believe.)
Then the associaters [or the idolaters] said: The book alone is not enough to prove his apostle-hood, but we want a material or objective miracle like the staff of Moses and the she-camel of Salih [the apostle of the tribe of Thamood]; as it is indicated also by His saying – be glorified – in the Quran 21: 5
فَلْيَأْتِنَا بِآيَةٍ كَمَا أُرْسِلَ الأَوَّلُونَ

The explanation:
(So let him bring to us a miracle as were the former [messengers] sent [with miracles.])

It means: Let him bring us a miracle just as how was Moses sent with the staff and how was Salih sent [to the tribe of Thamood] with the she-camel.

But God answered them with His saying – be glorified – in the Quran, the same soorah, the next aya 21: 6
مَا آمَنَتْ قَبْلَهُم مِّن قَرْيَةٍ أَهْلَكْنَاهَا أَفَهُمْ يُؤْمِنُونَ
The explanation:
(No city before them did believe, of those whom We destroyed; would these [Meccans now] believe?)

The meaning: Neither did Pharaoh nor did his folk believe in Moses while We gave him the staff as a miracle. Similarly, Salih's people did not believe in him, while We gave him the she-camel as a miracle, but they disbelieved them and denied them, so We took revenge against them and destroyed them.

So as such will you folk not believe even though We give you any objective miracle and they see it with their own eyes, but [on the contrary] they will disbelieve and say: "This is an obvious magic!" just as did their ancestors say, but We have given you a scientific miracle, better than the objective miracle, so call them by [this scientific miracle]; this is obvious in His saying – be glorified – in the Quran 16: 125
ادْعُ إِلِى سَبِيلِ رَبِّكَ بِالْحِكْمَةِ وَالْمَوْعِظَةِ الْحَسَنَةِ وَجَادِلْهُم بِالَّتِي هِيَ أَحْسَنُ
The explanation:
([O Mohammed] preach to the way of your Lord with wisdom and fair exhortation, and reason with them in better [ways and words than theirs])

In addition to these ayat, there are many others in the Quran which declare that prophets, apostles and angels cannot bring any miracle by themselves except the miracle which God gives to whom, of the prophets and apostles, He likes to give.

While in fact, most of people claim that saints have the ability to carry out miracles, and that actually they did a large number of miracles, which they don't call as "miracle", but as "Carama" which gives the same implication and are only different in words.

I say: prophets and saints do not agree about such acts and deeds which are not acceptable by God, but they disapprove and condemn and disown anyone who do such deeds and from anyone who associates them with God in the worship and glorification.
Read more
An Hour with Ghosts