The importance of the prayer in Islam cannot be understated. It is the first pillar of Islam that the Prophet (peace be upon him) mentioned after mentioning the testimony of faith, by which one becomes a Muslim. It was made obligatory upon all the prophets and for all peoples.
Allah has declared its obligatory status under majestic circumstances. For example, when Allah spoke directly to Moses, He said,
"And I have chosen you, so listen to that which is inspired to you. Verily, I am Allah! There is none worthy of worship but I, so worship Me and offer prayer perfectly for My remembrance." [Taha 13-14]
“I asked Allah’s Messenger
which deed was best.” He (the Holy Prophet) replied: “The prayer at its appointed hour”. [Sahih Muslim]