The Messenger of Allah ﷺ entered upon us while the people were raising their hands. The narrator Zubair said: I think( they were raising the hands) during prayer. He (the prophet) said: What is the matter, I see you raising your hands as if they are the tails of restive horses! Maintain tranquility during prayer. (Using translation from Abū Dāʾūd 1000)
أَنَّ رَسُولَ اللهِ ﷺ خَرَجَ عَلَيْهِمْ أُرَاهُ قَالَ فِي الْمَسْجِدِ وَهُمْ رَافِعُوا أَيْدِيهِمْ وَقَالَ «مَا لِي أَرَاكُمْ رَافِعِي أَيْدِيكُمْ كَأَنَّهَا أَذْنَابُ خَيْلٍ شُمُسٍ اسْكُنُوا فِي الصَّلَاةِ»