Because of which prophet was Pompeii destroyed?
We do not know. The Holy Qur’an does not mention Pompeii, and it says itself that it tells of only some of the messengers.
Anyone who reads the Holy Qur’an comes across accounts of towns that perished suddenly. Watching a film about the destruction of Pompeii, one may recognise some of it and wonder whether the same thing happened there. The question is understandable. But there is no certain answer.
The Holy Qur’an does not mention Pompeii. The first verse above says expressly that God sent many messengers of whom the Holy Qur’an does not speak at all. The second verse adds that there is no people to whom a warner has not come. It is therefore quite possible that in that region, too, there were people who warned in God’s name. Their names are not known to us.
The third verse shows how the Holy Qur’an views the destruction of towns. God does not destroy a town without first sending a messenger, and even then only if its people persist in wrongdoing. Whether the destruction of Pompeii was such a punishment cannot be concluded from this.
Anyone who wants to pursue the question can look into history. Which teachers and godly people lived in that region at the time of Pompeii, and what is known about them? One should not trust a film blindly here. Films often tell a story the way it is meant to feel, not the way it is documented. What cannot be known for certain may simply be left open.