Abu Hurairah (RA) reported: The Messenger of Allah (ﷺ) said: Does the man who lifts his head ahead of the Imam (from prostration) not fear that Allah may change his head into the head of an ass?
Hadith ReferenceSahih Muslim / The Book of Prayers / Hadith: 427