Anas bin Malik reported,

The Messenger of Allah ﷺ said, "What is the matter with people who raise their eyes toward the sky during their prayer?" He spoke about this with great severity and said, "They must stop doing that, or their sight will be snatched away."

Abu Dawud 913

Sahih

حدثنا مسدد حدثنا يحيى عن سعيد بن أبي عروبة عن قتادة أن

أنس بن مالك حدثهم قال

قال رسول الله ﷺ ما بال أقوام يرفعون أبصارهم في صلاتهم فاشتد قوله في ذلك فقال لينتهن عن ذلك أو لتخطفن أبصارهم

أبو داود 913صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer
Chapter
Looking around during prayer
Numbering
Darussalam 913
Abu Dawud 913