وعن عبد الله بن مسعود - رضي الله عنه - قَالَ: قَالَ رَسُول الله - صلى الله عليه وسلم: «لِيَلِني مِنْكُمْ أُولُوا الأحْلام وَالنُّهَى، ثُمَّ الَّذِينَ يَلُونَهُمْ» ثَلاثًا «وَإيَّاكُمْ وَهَيْشَاتِ الأسْوَاق». رواه مسلم.
It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Let the people of understanding and intellect among you stand close to me, then those who are next to them." (He said it) three times. "And beware of the clamour of the markets."
(Narrated by Muslim)
Related hadith on this topic
Brief Explanation
Wa hayshat al-aswaq: Imam al-Nawawi (may Allah have mercy on him) said: That is, the crowding of the markets, the quarrels and disputes that take place in them, the raising of voices, the clamour, and the trials (in them). (Sharh Sahih Muslim by al-Nawawi 2/333)