Abu Hurairah reported the Messenger of Allah ﷺ as saying; Does he who raises his head while the Imam is prostrating not fear that Allah may change his head into a donkey’s or his face into a donkey’s face. (Using translation from Abū Dāʾūd 623)
عَنِ النَّبِيِّ ﷺ قَالَ أَمَا يَخْشَى أَحَدُكُمْ إِذَارَفَعَ رَأْسَهُ وَالْإِمَامُ سَاجِدٌ أَنْ يَجْعَلَ اللهُ رَأْسَهُ رَأْسَ حِمَارٍ أَوْ صُورَتَهُ صُورَةَ حِمَارٍ؟