Abu Hurairah reported,

Muhammad reported that the Messenger of Allah ﷺ said, "Does the one who raises his head before the imam not fear that Allah might turn his head into the head of a donkey?"Qutayba said that Hammad said, "Muhammad bin Ziyad said to me, what he actually said was, 'Does he not fear...'"

Tirmidhi 582

Sahih

حدثنا قتيبة حدثنا حماد بن زيد عن محمد بن زياد وهو أبو الحارث البصري ثقة

عن أبي هريرة قال

قال محمد ﷺ أما يخشى الذي يرفع رأسه قبل الإمام أن يحول الله رأسه رأس حمار قال قتيبة قال حماد قال لي محمد بن زياد وإنما قال أما يخشى

الترمذي 582صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Travel
Chapter
Stern warning for one who raises his head before the imam
Numbering
Darussalam 582
Tirmidhi 582