Sunan Ibn Majah, Book 5, Hadith 1030 (In-Book) ⓘ
It was narrated that Anas said: “The Messenger of Allah liked the Muhajirun and Ansar to stand closest to him, so that they could learn from him.”
حَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ الْجَهْضَمِيُّ، حَدَّثَنَا عَبْدُ الْوَهَّابِ، حَدَّثَنَا حُمَيْدٌ، عَنْ أَنَسٍ، قَالَ كَانَ رَسُولُ اللَّهِ يُحِبُّ أَنْ يَلِيَهُ الْمُهَاجِرُونَ وَالأَنْصَارُ لِيَأْخُذُوا عَنْهُ .
also referenced under: Hadith 977 (Reference) & Volume 2, Book 5, Hadith 977 (DarusSalam)