صحيح مسلم
From Sahih Muslim (Hadith 966):
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: Muslim 966