(Imām Bukhārī narrates): 'Alī ibn 'Abdullāh narrated to us, he said: Yahyā ibn Sa'īd informed us, he said: Ibn 'Arūbah narrated to us, he said: Qatādah narrated to us, that Anas ibn Mālik, may Allāh be pleased with him, narrated to him that the Prophet ﷺ said to them:
What is the matter with those people who raise their gaze towards the sky in their prayers? Then he was severe about this, until he said: Let the people stop this, or their sight will be taken away.
Reference: Sahih Al Bukhari 750