Raising the gaze towards the sky during prayer
There is consensus (ijma’) on the prohibition of this act.
Reference: Sharh Muslim lil-Nawawi: 4/152, Fath al-Bari: 2/234
It is narrated from Abu Hurayrah (may Allah be pleased with him) that the Prophet ﷺ said: لينتهين أقوام يرفعون أبصارهم إلى السماء فى الصلاة أو لتخطفن أبصارهم “People must certainly stop raising their eyes towards the sky during prayer, or else their eyes will surely be snatched away.”
Reference: Ahmad: 2/333, Muslim: 429, Kitab al-Salah: Bab al-Nahy an Raf’ al-Basar ila al-Sama’ fi al-Salah, Nasa’i: 3/39