The Messenger of Allah ﷺ entered the mosque and saw there some people praying raising their hand towards the heaven. (This Is the common version: ) He said : People must stop raising their eyes to the heaven. The narrator Musaddad said: During prayer, otherwise their sight will be taken away.
دَخَلَ رَسُولُ اللَّهِ ﷺ الْمَسْجِدَ فَرَأَى فِيهِ نَاسًا يُصَلُّونَ رَافِعِي أَيْدِيهِمْ إِلَى السَّمَاءِ ثُمَّ اتَّفَقَا فَقَالَ لَيَنْتَهِيَنَّ رِجَالٌ يَشْخَصُونَ أَبْصَارَهُمْ إِلَى السَّمَاءِ قَالَ مُسَدَّدٌ فِي الصَّلاَةِ أَوْ لاَ تَرْجِعُ إِلَيْهِمْ أَبْصَارُهُمْ