The Book of Prayers (Kitab Al-Salat)

Muslim :: Book 4 : Hadith 859

Abu Huraira reported: The Messenger of Allah (may peace be upon him) 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?

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star