The birds of Surah al-Fil were a specific sign sent against Abraha's army in the year of the Prophet's (saw) birth. Neither the Qur'an nor the Sunnah promises that the building of the Ka'ba will never be damaged by people.
- The sanctuary is protected as a sacred place: the Qur'an describes Makkah as a safe sanctuary (haram amin), a status and a rule, not a guarantee against every attack.
- What happened later: the Ka'ba was damaged by fire and bombardment in the civil wars of 64 AH and 73 AH and was rebuilt, and in 317 AH the Qarmatians removed the Black Stone and returned it in 339 AH.
- What the Prophet (saw) foretold: a man from Abyssinia, Dhu al-Suwayqatayn, will demolish it near the end of time (Sahih al-Bukhari 1591; Sahih Muslim 2909).
- The word 'destroyed': the history records damage and rebuilding more than total destruction, and the reasons are not for us to claim to know.
Introduction
This is a fair question, and it rests on an understanding of Surah al-Fil that many people share. The premise needs two clarifications before the question can be answered: what Surah al-Fil actually says, and what the historical record shows about the Ka'ba after the Prophet (saw). The answer then follows.
What Surah al-Fil says
The surah recounts what Allah did to the army that came to destroy the House in the year the Prophet (saw) was born:
أَلَمْ تَرَ كَيْفَ فَعَلَ رَبُّكَ بِأَصْحَابِ الْفِيلِ أَلَمْ يَجْعَلْ كَيْدَهُمْ فِي تَضْلِيلٍ وَأَرْسَلَ عَلَيْهِمْ طَيْرًا أَبَابِيلَ تَرْمِيهِم بِحِجَارَةٍ مِّن سِجِّيلٍ فَجَعَلَهُمْ كَعَصْفٍ مَّأْكُولٍ
Have you not seen how your Lord dealt with the companions of the elephant? Did He not make their plan go astray? And He sent against them flocks of birds, striking them with stones of baked clay, and He made them like eaten straw. (Qur'an 105:1-5)
The surah describes an event. It does not state a rule that Allah will always intervene in the same way against every future attacker. It is addressed to the Quraysh and reminds them of a blessing they had witnessed, as the next surah, Quraysh, makes clear.
What has happened to the Ka'ba since
The history is better described as damage and rebuilding than as repeated destruction. Before the Prophet (saw) was sent, the Quraysh rebuilt the Ka'ba after flood damage, and he took part in setting the Black Stone in place. After his death the main events recorded by historians are these:
- In 64 AH (683 CE), during the siege of Makkah by the Umayyad army against Abdullah ibn al-Zubayr (ra), the Ka'ba was severely damaged by fire. Ibn al-Zubayr (ra) then rebuilt it on the foundations of Ibrahim (as), including the Hijr, acting on a hadith of A'isha (ra) that the Prophet (saw) had wished to do so but did not, for fear of the effect on people who had recently left the pre-Islamic era (Sahih al-Bukhari 1583; Sahih Muslim 1333).
- In 73 AH (692 CE) the Umayyad general al-Hajjaj ibn Yusuf besieged Makkah and bombarded the Ka'ba, and after Ibn al-Zubayr was killed, Abd al-Malik ibn Marwan had the structure rebuilt to its earlier form. This is the form on which later rebuilding was based.
- In 317 AH (930 CE) the Qarmatians raided Makkah during the Hajj, killed many pilgrims and removed the Black Stone, which was returned in 339 AH.
These accounts come from early historians such as al-Tabari and Ibn Kathir, and details such as dates and numbers differ between them. The structure has also been repaired many times after floods and other damage.
Why was there no intervention?
The Qur'an does speak of the sanctity of the place. It describes Makkah as a safe sanctuary (28:57; 29:67), and in an authentic hadith the Prophet (saw) declared its sanctity on the day of the conquest. A sanctuary is a place where blood may not be shed and trees may not be cut. That is a rule to be observed by people. It does not say that people cannot break it, and the Qur'an itself reports that the Quraysh and others did wrong in the sacred precinct.
Another sign comes from the Prophet (saw) himself. In a hadith in Sahih al-Bukhari (2118) and Sahih Muslim (2884), A'isha (ra) reports that an army will march on the House and will be swallowed by the earth in the desert before it arrives. This shows that Allah can protect it directly, and that He does so at times of His choosing. But there is also the hadith reported by Abu Hurayra (ra) that a man with thin legs from Abyssinia will tear down the Ka'ba (Sahih al-Bukhari 1591; Sahih Muslim 2909), which scholars understand as an event near the end of time. Together they show that the House is protected and honoured, and that its eventual destruction has also been foretold.
It is not for us to say why Allah withheld a miracle in any given event. Scholars warn against drawing a rule from silence. The Qur'an tells us about the elephant incident as a lesson and a favour, and the later history as part of the trials of the Muslims, including those who attacked the House and those who were attacked within it.
Conclusion
The birds of Surah al-Fil were a sign for a particular event, and nothing in the Qur'an or Sunnah says it will be repeated whenever the Ka'ba is attacked. The Ka'ba was damaged and rebuilt during the civil wars of the first Islamic century, and the Prophet (saw) foretold its demolition near the end of time. The right response is to treat the sanctuary with the respect the texts require, and to avoid claiming to know the wisdom behind what Allah did or did not do.
References
Qur'an 28:57, 29:67, 105:1-5
Sahih al-Bukhari 1583, 1591, 2118
Sahih Muslim 1333, 2884, 2909
al-Tabari, Tarikh al-Rusul wa'l-Muluk
Ibn Kathir, al-Bidaya wa'l-Nihaya
al-Azraqi, Akhbar Makka
Encyclopaedia of Islam, "Ka'ba"