According to a hadith from the Prophet (s), the reason of the city being named as “Qom” is that its people will gather around the “Qa’im Al Muhammad” (the rising person of the family of Muhammad (s), i. e. Imam al-Mahdi (a)) and will support him in his uprising. The word “Qom” is from the same root as “Qa’im” (the rising person). In another hadith, the reason is that God has ordered the Shaytan (Satan) to get up and leave the land.