Short answer

The verse does not say earthquakes cannot happen. It says God (﷾) set the mountains firm "lest it should shake with you". The Arabic word there is tamida. It means to sway, tilt or be unsettled, like the deck of a ship. For an earthquake the Qur'an uses other words, and it tells of earthquakes striking. The Prophet (ﷺ) said that earthquakes would become many before the Last Day. So the verse is not a promise that the ground will never tremble. A builder who puts your house on firm foundations has not promised that it will never feel a tremor. Islam's answer is that God (﷾) made the earth a steady home for people, with the mountains set firm in it.

Read the full explanation

See your saved pages