Earthquakes that are happening these days are among the signs which Allaah uses to frighten His slaves. All the earthquakes and other things which happen and cause harm and injury to people are because of shirk and sins, as Allaah says (interpretation of the meanings):
“And whatever of misfortune befalls you, it is because of what your hands have earned. And He pardons much” [al-Shoora 42:30]
“Whatever of good reaches you, is from Allaah, but whatever of evil befalls you, is from yourself” [al-Nisaa’ 4:79]
“And We sent not the signs except to warn” [al-Israa’ 17:59]
“We will show them Our Signs in the universe, and in their own selves, until it becomes manifest to them that this (the Qur’aan) is the truth. Is it not sufficient in regard to your Lord that He is a Witness over all things?” [Fussilat 41:53]
“Say: ‘He has power to send torment on you from above or from under your feet, or to cover you with confusion in party strife, and make you to taste the violence of one another.’” [al-An’aam 6:65]
Al-Bukhaari narrated in his Saheeh from Jaabir ibn ‘Abd-Allaah (may Allaah be pleased with him) that when the aayah (interpretation of the meaning) “Say: ‘He has power to send torment on you from above” was revealed, the Prophet (peace and blessings of Allaah be upon him) said, “A’oodhu bi wajhika (I seek refuge in Your Face”; “or from under your feet”, he said, “A’oodhu bi wajhika (I seek refuge in Your Face).” (Saheeh al-Bukhaari, 5/193).
(Abu’l-Shaykh al-Isbahaani narrated from Mujaahid concerning the Tafseer of this aayah, “Say: ‘He has power to send torment on you from above”: (this means) al-Sayhah (the shout or tumult), stones and strong wind; “or from under your feet”, (means) earthquakes and being swallowed up by the earth.)