It wasnarrated that Abu Hurairah said:
"The Messenger of Allah (ﷺ)said: 'Does not the one who raises his head before the Imam fearthatAllah may turn his head into the head of a donkey?'" (DE)
English reference (DE): Vol. 1, Book 5, Hadith 961 (DE)
Arabic reference (DE): Book 5, Hadith 1014 (DE)