Sayyiduna Abu Huraira (may Allah be pleased with him) reports: The Messenger of Allah (peace and blessings be upon him) said: "When the (congregational) prayer is established, then there is no (other) prayer except the obligatory prayer for which the iqamah has been called."
Related hadith on this topic