“The Messenger of Allah ﷺ liked the Muhajirun and Ansar to stand closest to him, so that they could learn from him.” (Using translation from Ibn Mājah 977)
قَالَ أَنَسٌ كَانَ نَبِيُّ اللهِ ﷺ «يُحِبُّ أَنْ يَلِيَهُ الْمُهَاجِرُونَ وَالْأَنْصَارُ لِيَأْخُذُوا عَنْهُ»