´It was narrated that Ibn ‘Umar said:` “The Messenger of Allah (ﷺ) said: ‘Do not lift your gaze to the heavens lest your sight be snatched away,” meaning during prayer.
Hadith ReferenceSunan Ibn Majah / Establishing the Prayer and the Sunnah Regarding Them / Hadith: 1043