The story of the Prophet Salih tells how Allah sent him to guide the people of Thamud, a group who lived in rocky regions. Despite the miracles, including the birth of a divine she-camel, the people of Thamud persisted in their sin, rejecting Salih's message. The Prophet warned them of their disbelief and arrogance, but they refused to repent. Their end was tragic when the earth swallowed them, a divine punishment for their rejection of the truth.