It was narrated from 'Ubaidullah bin Abdullah that:
A man from among the companions of the Prophet (ﷺ) told him that he heard the Messenger of Allah (ﷺ) say: 'If any one of you in praying, let him not lift his gaze to the sky, or his eyesight will be taken away.'