Islam is a religion founded by Prophet Muhammad, with the belief in one God, Allah. Prayer is an integral part…