Jabir b. Samura reported
The Messenger of Allah (ﷺ) said: The people who lift their eyes towards the sky in Prayer should avoid it or they would lose their eyesight.
Abu Huraira reported
People should avoid lifting their eyes towards the sky while supplicating in prayer, otherwise their eyes would be snatched away.