Sunan Abi Dawud 912
Grading supplied with this record: Sahih (Al-Albani)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
لَيَنْتَهِيَنَّ رِجَالٌ يَشْخَصُونَ أَبْصَارَهُمْ إِلَى السَّمَاءِ - قَالَ مُسَدَّدٌ فِي الصَّلاَةِ - أَوْ لاَ تَرْجِعُ إِلَيْهِمْ أَبْصَارُهُمْ "
Jabir b. Samurah said(this is the version of the narrator "Uthman):
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.
Full reference and source
Sunan Abi Dawud 912 In-book : Book 2, Hadith 523 English translation : Book 2, Hadith 912
View source on Sunnah.com (opens in a new tab)