حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ ، حَدَّثَنَا الثَّقَفِيُّ ، عَنْ حُمَيْدٍ ، عَنْ أَنَسٍ ، أَنَّ النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ كَانَ يُحِبُّ أَنْ يَلِيَهُ الْمُهَاجِرُونَ وَالْأَنْصَارُ لِيَأْخُذُوا عَنْهُ .
It is narrated from Sayyiduna Anas (may Allah be pleased with him): "The Prophet (peace and blessings be upon him) liked the Muhajirun and the Ansar to stay (right) close to him, so that they could learn (the rulings of the religion and the Sunnah) from him (peace and blessings be upon him)."
Related hadith on this topic