(26) باب النَّهْىِ عَنْ رَفْعِ الْبَصَرِ، إِلَى السَّمَاءِ فِي الصَّلاَةِ
Jabir b. Samura reported:
The Messenger of Allah (ﷺ) said: The people who lift their eyes towards the sky in Prayer should avoid it or they would lose their eyesight.
Reference: Sahih Muslim 428
In-book reference: Book 4, Hadith 128
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 862