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?" His words on this grew severe, until he said, "They must stop doing this, or their sight will be snatched away."

Nasai 1194

Sahih

أخبرنا عبيد الله بن سعيد وشعيب بن يوسف عن يحيى وهو ابن سعيد القطان عن ابن أبي عروبة عن قتادة

عن أنس بن مالك

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

النسائي 1194صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Forgetfulness
Chapter
Prohibition of raising the gaze to the sky during prayer
Numbering
Darussalam 1194
Nasai 1194