The Messenger of Allah ﷺ said, "Does the one who raises his head before the imam not fear that Allah will turn his head into the head of a donkey?"
حدثنا وكيع قال حدثنا حماد بن سلمة عن محمد بن زياد
قال رسول الله ﷺ أما يخاف الذي يرفع رأسه قبل الإمام أن يحول رأسه رأس حمار