Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:912[Chain 1] Musaddad > Abū Muʿāwiyah [Chain 2] ʿUthmān b. Abū Shaybah > Jarīr And Hadhā Ḥadīthuh Wahū Atam > al-Aʿmash > al-Musayyab b. Rāfiʿ > Tamīm b. Ṭarafah al-Ṭāʾī > Jābir b. Samurah > ʿUthmān

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.  

أبو داود:٩١٢حَدَّثَنَا مُسَدَّدٌ حَدَّثَنَا أَبُو مُعَاوِيَةَ ح وَحَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا جَرِيرٌ وَهَذَا حَدِيثُهُ وَهُوَ أَتَمُّ عَنِ الأَعْمَشِ عَنِ الْمُسَيَّبِ بْنِ رَافِعٍ عَنْ تَمِيمِ بْنِ طَرَفَةَ الطَّائِيِّ عَنْ جَابِرِ بْنِ سَمُرَةَ قَالَ عُثْمَانُ قَالَ

دَخَلَ رَسُولُ اللَّهِ ﷺ الْمَسْجِدَ فَرَأَى فِيهِ نَاسًا يُصَلُّونَ رَافِعِي أَيْدِيهِمْ إِلَى السَّمَاءِ ثُمَّ اتَّفَقَا فَقَالَ لَيَنْتَهِيَنَّ رِجَالٌ يَشْخَصُونَ أَبْصَارَهُمْ إِلَى السَّمَاءِ قَالَ مُسَدَّدٌ فِي الصَّلاَةِ أَوْ لاَ تَرْجِعُ إِلَيْهِمْ أَبْصَارُهُمْ