The Prophet ﷺ addressed the people at Mina and he made them stay in their dwellings. He then said: The Muhajirun (Emigrants) should stay here, and he made a sign to the right side of the qiblah, and the Ansar (the Helpers) here, and he made a sign to the left side of the qiblah; the people should stay around them. (Using translation from Abū Dāʾūd 1951)
عَنْ رَجُلٍ مِنْ أَصْحَابِ النَّبِيِّ ﷺ قَالَ خَطَبَ النَّبِيُّ ﷺ النَّاسَ بِمِنًى وَنَزَّلَهُمْ مَنَازِلَهُمْ وَقَالَ لِيَنْزِلِ الْمُهَاجِرُونَ هَاهُنَا وَأَشَارَ إِلَى مَيْمَنَةِ الْقِبْلَةِ وَالْأَنْصَارُ هَاهُنَا وَأَشَارَ إِلَى مَيْسَرَةِ الْقِبْلَةِ ثُمَّ لِيَنْزِلِ النَّاسُ حَوْلَهُمْ قَالَ وَعَلَّمَهُمْ مَنَاسِكَهُمْ فَفُتِّحَتْ أَسْمَاعُ أَهْلِ مِنًى حَتَّى سَمِعُوهُ فِي مَنَازِلِهِمْ قَالَ فَسَمِعْتُهُ يَقُولُ ارْمُوا الْجَمْرَةَ بِمِثْلِ حَصَى الْخَذْفِ