Mishkat al-Masabih
Mishkat al-Masabih 1141
Arabic hadith text
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «أَمَا يَخْشَى الَّذِي يَرْفَعُ رَأْسَهُ قَبْلَ الْإِمَامِ أَنْ يُحَوِّلَ اللَّهُ رَأْسَهُ رَأْسَ حمَار»
Translation
Abu Hurayrah, may God be pleased with him, reported that the Messenger of God, peace and blessings be upon him, said: Does the one who raises his head before the imam not fear that God may turn his head into the head of a donkey?