Abu Hurairah reported,

The Messenger of Allah ﷺ said, "People must stop raising their eyes toward the sky during supplication in prayer, or their sight will be snatched away."

Azami 2612

Sahih

عن أبي هريرة

أن رسول الله ﷺ قال: لينتهين أقوام عن رفعهم أبصارهم عند الدعاء في الصلاة إلى السماء، أو لتخطفن أبصارهم.

الأعظمي 2612صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
What is prohibited and disliked in prayer
Section
Dislike of raising one's gaze to the sky during prayer
Numbering
Jami al-Kamil 2612 (2nd edition)
Azami 2612