It was narrated from Abu Hurairah that:The Messenger of Allah (ﷺ) said: "People should certainly stop lifting their gaze to the sky when they supplicate during the prayer, or they will lose their eyesight
Hadith No. 1276
Sunan an Nasai
Gradings:
Abu Ghuddah:
Sahih
Al-Albani:
Sahih
Zubair Ali Zai:
Sahih Muslim