Sayyidina Abu Huraira reported, saying that holy Propher (SAW) said : Does he who raise his head before the imam not fear that Allah will change his head into a donkey’s head?’ Qutaybah said that Hammad said that Muhammad ibn Ziyad said to him that he only said (Doeshenotfear).
[Ahmed 7537,Bukhari 582,Muslim 427,Nisai 824,Ibn e Majah 961]
--------------------------------------------------------------------------------