Abu Hurairah reported,

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?"

Ibn Majah 961

Sahih

حدثنا حميد بن مسعدة وسويد بن سعيد قالا حدثنا حماد بن زيد حدثنا محمد بن زياد

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

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

ابن ماجه 961صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
Prohibition of preceding the imam in ruku and sujud
Numbering
Darussalam 961
Ibn Majah 961