 
  
     
     
     
    
    
 
 
  
     
     
     
     
    
    
Narrated Abu Huraira:
The Prophet (ﷺ) said, "There was no prophet among the prophets but was given miracles because of which people had security or had belief, but what I was given was the Divine Inspiration which Allah revealed to me. So I hope that my followers will be more than those of any other prophet on the Day of Resurrection."  
[Sahih al-Bukhari 7274]
...No Messenger was to show miracles without the permission of God.
(Quran 13:38)
Allah SWT supported His Prophets with miracles, which are extraordinary events that are usually of the same nature that the people of that particular prophet excelled at.  
For instance, the people of Prophet Moosa (AS) excelled at magic, so the miracle of Prophet Moosa (AS) was that he threw his staff and it turned to a serpent.  Likewise, the people of Prophet Eesa (AS) excelled at medicine, so Prophet Eesa (AS) cured the blind and the leper, and gave life to the dead by the permission of Allah SWT.  
Similarly, the Arabs excelled at poetry and rhetoric and therefore Allah SWT sent them the Quran and it was a miracle that they were not even able to compose one Soorah (Chapter) like it.  Qur'an also contains miracles in various fileds including in science, which have been proving to be accurate as they are being discovered.
 
  
     
     
     
     
    
    
They merely wanted to worship the same gods as their fathers had, with no reason, no proof, no thought. The proof of Salih's message was evident, but despite this it was obvious that most of his people did not believe him. They doubted his words, thinking he was charmed, and they saw that he would not stop preaching. Fearing that his followers would increase, they tried to put him off by assigning him an important task: to prove that he was a messenger of Allah by performing a miracle. Let a unique she-camel issue from the mountains.
Allah granted Salih this miracle and a huge, unique shecamel appeared from the direction of the mountain. The Qur'anic commentators said that the people of Thamud gathered on a certain day at their meeting place, and the prophet Salih came and addressed them to believe in Allah, reminding them of the favors Allah had granted them.
Then, pointing at a rock, they demanded: "Ask your Lord to make a she-camel - which must be ten months pregnant, tall and attractive - issue from the rock for us."
Salih replied: "Look now! If Allah sends you what you have requested, just as you have described, will you believe in that which I have come to you with, and have faith in the message I have been sent with?"
They answered: "Yes."
So he took a vow from them on this, then prayed to Allah the Almighty to grant their request. Allah ordered the distant rock to split asunder, bringing forth a great ten-month pregnant she-camel. When their set eyes on it, they were amazed. They saw a great thing, a wonderful sight, dazzling power, clear evidence!
A number of Salih's people believed, yet most of them continued in their disbelief, stubbornness and going astray. Allah the Almighty said: 
...And We sent the she-camel to Thamud as a clear sign, but they did her wrong...
[Quran 17:59] 
Indeed, the residents of the Stone Valley also denied the messengers.  
We gave them Our signs, but they turned away from them.  
They carved their homes in the mountains, feeling secure.
But the ˹mighty˺ blast overtook them in the morning, 
[Quran  15:80-83]