It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: People should refrain from raising their eyes towards the sky during prayer, otherwise their eyesight will be taken away.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 8802
Hadith Gradingحکم دارالسلام:حديث صحيح، م: 429، وهذا إسناد منقطع، الحسن لم يسمع من أبي هريرة