Al-Ankabut


The Spider is the 29th chapter of the Quran with 69 verses.
Regarding the timing and contextual background of the supposed revelation, it is considered an earlier "Meccan surah", which means it is believed to have been revealed in Mecca, instead of later in Medina. This is due to the introduction concerning the persecution of the Muslims. The early Muslims were persecuted in Mecca, where Muhammed was not a head of state and not persecuted in Medina, where he was a head of state and had some protection.
The surah states that Nuh, Ibrahim, Lut, Shuaib, Hud, Saleh, Musa and Muhammad all were prophets of God. All of them endured hardships. For example, Noah was ridiculed often and Abraham was thrown into the fire. But God destroyed their people who transgressed. As it says in verse 40,
So each We punished for his sin; of them was he on whom We sent down a violent storm, and of them was he whom the rumbling overtook, and of them was he whom We made to be swallowed up by the earth, and of them was he whom We drowned; and it did not beseem Allah that He should be unjust to them, but they were unjust to their own souls.