(26) باب النَّهْىِ عَنْ رَفْعِ الْبَصَرِ، إِلَى السَّمَاءِ فِي الصَّلاَةِ
Abu Huraira reported:
People should avoid lifting their eyes towards the sky while supplicating in prayer, otherwise their eyes would be snatched away.
Reference: Sahih Muslim 429
In-book reference: Book 4, Hadith 129
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 863
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.