The Holy Quran mentions the pious people and saints at many places.
It is given in Surah Al-Imran:
So, her Lord graciously accepted her (Maryam [Mary]) with excellent acceptance and brought her up immaculately and entrusted her guardianship to Zakariyya (Zacharias). Every time Zakariyya (Zacharias) entered her chamber of worship he found with her (novel and uncommon) food items. He inquired: ‘O Maryam, wherefrom have these things come for you?’ She replied: ‘This (sustenance) comes from Allah. Verily, Allah provides sustenance without measure to whom He desires.’ Surah Al-Imran (3:37)
This verse of the Holy Quran explicitly establishes the miracles of the Auliya. Hadhrat Maryam (Peace be upon her) is not a Prophet, but a saint. Whenever Hadhrat Zakariya (Peace be upon him) came to her, he would see various fruits near her. In summer, fruits of winter would be found and in winter, fruits of summer.
Out of season fruits and food/sustenance being present without any visible worldly means is the miracle of Hadhrat Maryam (Peace be upon her).
And (the people of the Cave [Kahf]) stayed in their cave for three hundred years and they added another (nine) years (to that). Surah Kahf (18:25)
Here the incident of the people of cave (Ashab-e-Kahf) is being mentioned. These are those pious servants of Allah Ta’ala who were asleep for 309 years. During this entire period, their bodies did not change at all. This whole period, they neither ate nor drank anything. Eating/drinking are the basic needs of the human body. No one can remain without this need being fulfilled. Let alone decades and decades, no one can remain even a few days without eating/drinking, but these pious servants of Allah Ta’ala spent a period of 309 years without doing so.
This is the miracle through the power of Allah Ta’ala that the People of the Cave spent a period as long as 309 years without eating/drinking. Their bodies were not affected at all and even the dog, which remained at their doorstep, was safe.
Allah Ta’ala says in Surah Kahf:
And you see that the sun, when it rises, moves to the right from their cave and inclines obliquely from them to the left when it sets while they are (lying) in the open chamber of the cave. This (change of the sun’s course) is one of the (great) Signs of Allah’s (Might). He whom Allah guides is the one who is rightly guided, but one whom He holds strayed you will not find for him any wali (friend to help) and murshid (guide to show the path). Surah Kahf (18:17)
This is a reality that the sun moves in its own orbit. It neither delays nor makes haste anywhere in its path. It does not swerve a hairbreadth worth of distance from its path. This is the system of nature. In spite of all this, Allah Ta’ala granted Ashab-e-Kahf such excellence that for the whole time they spent in the cave, the sun swerved from its path. When it would rise on the earth, it would move to its right and while setting, it would move to the left, so that the rays of the sun don’t fall on them.
This is a sign of the power of Allah Ta’ala and a miracle of Ashab-e-Kahf.
Imam Razi writes in the Tafseer of this verse:
Translation: The rising and setting of the sun in this way is against what usually happens and is a great miracle, which Allah Ta’ala has granted to the Ashab-e-Kahf. (Tafseer Kabeer, Surah Kahf, 17)
Allah Ta’ala says in Surah Naml:
Then the one who had some knowledge of the (heavenly) Book submitted: ‘I can bring it to you before your vision turns back to you (i.e. even before the twinkling of an eye). So, when (Sulaiman [Solomon]) saw it (the throne) placed before him, he said: ‘This is by the Grace of my Lord so that He may put me to the test whether I thank (Him) or not. And he who thanks (Allah) his gratitude is for the good of his own self, and he who is ungrateful surely my Lord is Self-Sufficient, Most Generous.’ Surah Naml (27:40)
In this verse of the Holy Quran, a miracle of a follower of Hadhrat Sulaiman (Peace be upon him) is mentioned. When Hadhrat Sulaiman (Peace be upon him) asked his army that who among them would be able to bring the throne of Bilquis, a strong and powerful genie said: I can bring it before you get up from your seat. Hadhrat Sulaiman (Peace be upon him) said that the throne was wanted even sooner than that. Then Hadhrat Asif Bin Barkhiyya asked for permission and appeared with the throne within the blink of an eye.
That throne was of gold and was bejeweled with various precious stones. It was installed in the innermost palace of all 7 palaces. The doors were locked. Guards were present. It is beyond comprehension that how Hadhrat Asif Bin Barkhiyya carried such a heavy and securely kept thing from Yemen to Syria within the blink of an eye.
Translation of Hadith:
It has been narrated on the authority of Hadhrat Abu Hurairah (May Allah be well pleased with him), he said that the Holy Prophet (Sallallahu alaihi wa sallam) said: Allah Ta’ala said: Whoever bears enmity with my Wali (Lit. friend), I declare war against him. My slave comes closer to me with no act more beloved to me than the Fardh (obligatory acts of worship), which I have assigned to him and my slave keeps coming closer to me with Nafl (optional acts of worship), so much so that I start loving him. When I make him my beloved, then I become his ears with whom he hears, I become his eyes with which he sees, I become his hand with which he holds and I become his legs with which he walks. If he asks me for something, I verily grant it. If he asks me for protection, I compulsorily grant it. if I want to do something, I don’t hesitate the way I wait before taking the soul of a Momin when does not desire it and I don’t like hurting him. (Sahih Bukhari, Hadith No. 6502)
This Hadith shows the great excellence and glory of the Auliya. When the power of Allah Ta’ala Himself works in their senses, then they hear and listen to what is near them and also what is far from them. They have extraordinary power in their hands and in their feet. That is why their power is not like the power of the common people.