It is narrated from Sayyiduna Shayban bin Muhriz (may Allah be pleased with him) that he said: "I prayed behind the Prophet (peace and blessings be upon him), and a man raised his head before the Prophet (peace and blessings be upon him). So when he (peace and blessings be upon him) had finished the prayer, he said: 'Whoever raises his head before the imam, or lowers it (into prostration before him), has no prayer.'" This chain is da'if (weak) because of the weakness of Muhammad bin Jabir.
It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that he said: "The one who raises and lowers his head before the imam, his forelock is in the hand of a devil." Imam al-Humaydi says that Sufyan bin Uyaynah sometimes narrated it as marfu' (as a saying of the Prophet, peace and blessings be upon him) and sometimes did not narrate it as marfu'. I (the author) say: Imam Malik narrated it in al-Muwatta' as mawquf, without the remark of Abu Bakr; while Imam al-Bazzar narrated it as marfu' by way of Yusuf bin Sulayman, and Imam al-Tabarani reported it in al-Mu'jam al-Awsat by way of Muhammad bin Ajlan. Imam al-Bazzar says: We do not know of any other narration of the narrator Malih from Sayyiduna Abu Hurayrah (may Allah be pleased with him) besides this one. The origin of this hadith is in Sahih al-Bukhari and Muslim with these words: "Does the one among you who raises his head from bowing or prostration before the imam not fear that Allah Almighty will turn his head into the head of a donkey, or change his form into the form of a donkey?" Imam al-Khattabi (may Allah have mercy on him) says that the people of knowledge differ about the ruling on this act (raising the head before the imam): it is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that he said: "Whoever does that has no prayer at all." The general position of the people of knowledge, however, is: "He has done wrong, but his prayer suffices; most of the imams, though, instruct him to go back into prostration and remain there, after the imam has raised his head, for as long as the time he had missed (by raising his head before the imam)."
It is narrated from Sayyiduna Abdullah bin Yazid (may Allah be pleased with him) that he was leading the people in prayer here, and some people would put their heads down (on the ground) before he put his head down in prostration, and would raise their heads before he raised his. So when he had finished the prayer, he turned towards them and said: "O people! You follow (me) and then you yourselves are (wrongly) followed? I have led you in exactly the prayer of the Messenger of Allah (peace and blessings be upon him), and I have not added to or reduced its manner in the slightest." This narration is da'if (weak) because of the weakness of Umar bin Musa in its chain.
It is narrated from Sayyiduna Anas and Sayyiduna al-Bara' bin Azib (may Allah be pleased with them both) that they both said: "We would not bend our backs (for prostration in the prayer) until we saw the Messenger of Allah (peace and blessings be upon him) in the state of prostration."
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف؛ لانقطاعه بين الأعمش وأنس والبراء، وأصله في الصحيحين من حديث البراء
Hadith Takhrij«الأعمش لم يسمع من أنس وإنما رآه، ولم يدرك البراء؛ ونبه محقق مسند أبي يعلى (السناري ٥/٦١٧) أن المحفوظ عن الأعمش عن يزيد الرقاشي؛ عثام بن علي: صدوق»
It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that he said: "Each of us praying behind the Prophet (peace and blessings be upon him) would keep his back straight (after rising from bowing) until the Prophet (peace and blessings be upon him) had fully gone into prostration (or, according to the narrator's words, had settled on the ground); then he (the follower) would prostrate at that point." In the narration of Imam Musaddad, it is narrated from Sayyiduna Anas (may Allah be pleased with him) that he said: "When we raised our heads from bowing behind the Prophet (peace and blessings be upon him), we would remain standing until we saw that the Prophet (peace and blessings be upon him) had prostrated and placed his blessed face firmly on the ground; then after that we would prostrate." In the chain of this hadith there is an unnamed (unknown) narrator between the father of Mu'tamir and Sayyiduna Anas (may Allah be pleased with him).