Sahih Muslim
The Book of Prayers (Kitab Al-Salat)
Book Number: 004 / Hadith Number: 860
Abu Huraira reported: The Messenger of Allah (may peace be upon him) said: Does the man who lifts his head before the Imam not fear that Allah may change his face into that of an ass?