Al-Ilmam bi-Ahadith al-Ahkam 305
وَعَن عبد الله بن مَسْعُود رَضِيَ اللَّهُ عَنْه، قَالَ: قَالَ رَسُول الله ﷺ : " ليليني مِنْكُم أولو الأحلام والنُّهى، ثمَّ الَّذين يَلُونَهُمْ، ثَلَاثًا، وَإِيَّاكُم وهيشات الْأَسْوَاق ". لفظ مُسلم. والهيش: العيث. وَيُقَال هاش: إِذا عاث، وَكَأن المُرَاد الْفِتَن والهَيْج.
And from ʿAbdullah ibn Masʿud, may Allah be pleased with him, who said: The Messenger of Allah ﷺ said: "Let those of you with understanding and intelligence stand next to me, then those who come after them" — three times — "and beware of the commotions of the markets." The wording is Muslim's. Al-haysh means causing disorder; one says "hasha" when someone causes disorder, and it is as though what is meant is strife and agitation.