Sahih Muslim 432
Sahih Muslim · Book 4: The Book of Prayers · Straightening The Rows; The Virtue Of The Front Row And Then The Next; Competing With One Another For The Front Row; The People Of Virtue Should Take Precedence And Be Closest To The Imam
Abdullah b. Mas'ud reported:
حَدَّثَنَا يَحْيَى بْنُ حَبِيبٍ الْحَارِثِيُّ ، وَصَالِحُ بْنُ حَاتِمِ بْنِ وَرْدَانَ ، قَالاَ حَدَّثَنَا يَزِيدُ بْنُ زُرَيْعٍ ، حَدَّثَنِي خَالِدٌ الْحَذَّاءُ ، عَنْ أَبِي مَعْشَرٍ ، عَنْ إِبْرَاهِيمَ ، عَنْ عَلْقَمَةَ ، عَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " لِيَلِنِي مِنْكُمْ أُولُو الأَحْلاَمِ وَالنُّهَى ثُمَّ الَّذِينَ يَلُونَهُمْ - ثَلاَثًا - وَإِيَّاكُمْ وَهَيْشَاتِ الأَسْوَاقِ " .
The Messenger of Allah (ﷺ) said: Let those who are sedate and prudent be near me, then those who are next to them (saying it tliree tinies), and beware of the tumult of the markets.