Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates from the Noble Prophet (peace and blessings be upon him) that he said: "What is wrong with people that they raise their eyes towards the sky during prayer?" He (peace and blessings be upon him) gave a very stern warning about this until he said: "They must stop, or else their eyes will surely be snatched away."