Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrates this statement of the Prophet (peace and blessings be upon him): "Do not raise your gaze towards the sky during prayer, lest it be taken away." The narrator says: That is, do not do this during prayer.
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 2281
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «التعليق الرغيب» (1/ 188).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسماعيل بن أبي أويس في حفظه شيء، لكنه متابع، وباقي السند رجاله رجال الشيخين.
Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates: The Prophet Muhammad (peace and blessings be upon him) said: "Does the person who raises his head before the Imam (from bowing or prostration) not fear that Allah may turn his head into that of a donkey?"
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 2282
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «صحيح أبي داود» (634): ق.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح، وأحد طرقه -وهو عبيد الله القواريري، عن حماد- على شرطهما، محمد بن زياد: هو الجمحي مولاهم أبو الحارث المدني.