It was narrated from ‘Ubaidullah bin ‘Abdullah that a man from among the Companions of the Prophet صلی اللہ علیہ وآلہ وسلم told him that he had heard the Messenger of Allah صلی اللہ علیہ وآلہ وسلم say: ‘If any one of you is praying, let him not lift his gaze to the sky, or his eyesight will be taken away.” (Sahih)