The asbāb al-nuzūl (timing and contextual background) is that it was revealed in Mecca revealed during the middle period and received by Muhammad shortly after sura Yusuf. Like other surahs of this period, it praises God. Parts of the verses 4-74 are preserved in the Ṣan‘ā’1 lower text.
This surah takes its name from its 80th āya, which refers to a pre-Islamic archaeological site called Hegra (Arabic: الحِجر, romanized:al-ḥijr, lit.'the Stone').
Summary
1-3 Unbelievers will one day wish themselves Muslims
88-90 Muhammad not to consider the prosperity of infidels
91-93 The enemies of God will surely be punished
94-96 Muhammad commanded to preach boldly
97-99 He is exhorted to praise and serve God until death
Central theme
This surah contains brief mentions of Tawhid, and provides an admonition to the disbelievers. The primary subjects of the surah are:
cautioning the individuals who dismissed the message and
providing solace and support to Muhammad,
The Quran never limits itself to mere rebuke; reproach and reprimand. It depends on its statute. The surah contains brief contentions for Tawhid and admonition in the tale of Adam and Satan.
Exegesis
15:9 Preservation of the Quran
15:9 We have, without doubt, sent down the Message; and We will assuredly guard it (from corruption). Translation Yusuf Ali (Orig. 1938)
Ibn Kathir says, "God, may He be exalted, stated that He is the One Who revealed the Dhikr to him, which is the Qur'an, and He is protecting it from being changed or altered".