Quran 2:74:


Then your hearts became hardened after that, being like stones or even harder. For indeed, there are stones from which rivers burst forth, and there are some of them that split open and water comes out, and there are some of them that fall down for fear of Allah. And Allah is not unaware of what you do.

The following excerpt is taken from Maariful Quran pg. 239 Vol 1:

“In contrasting the hearts of the Israelites with stones, the verse refers to three states of the latter: (1) Some stones give forth a great amount of water. (2) Others give forth only a small quantity. (3) Still others do not give forth water, but fall down from their place for fear of Allah.

The first two of these states are a matter of everyday observation, but the third may be subject to doubt, for the ability to feel fear requires reason and sensibility, and the stones, as one supposes, do not possess these faculties. But reason is not always a necessary requisite for the ability to feel fear – after all, animals do feel fear, even though they do not possess reason. Sensibility is, of course, necessary. But there is no rational argument which should deny sensibility to minerals. For sensibility depends on life, and the minerals may possibly possess a kind of subtle life which man may not be aware of. In fact, scientists have recently discovered the signs of life and sensibility in minerals too. Anyhow, an explicit statement in the Holy Qur’an carries a validity and an authority which no physical science or rational argument can dispute.

Then, we do not claim that fear of Allah is always the only cause which makes a stone fall down. For, the Holy Qur’an itself says that this cause operates only in the case of some stones. So, there may be different causes which make stones fall down; some of these causes may be purely physical, while one of them may be the fear of Allah.”