أَخْبَرَنَا أَبُو طَاهِرٍ الْفَقِيهُ، أنبأ أَبُو طَاهِرٍ مُحَمَّدُ بْنُ الْحَسَنِ الْمُحَمَّدَآبَاذِيُّ، أنبأ إِبْرَاهِيمُ بْنُ عُبَيْدِ اللهِ السَّعْدِيُّ، أنبأ يَزِيدُ بْنُ هَارُونَ، أنبأ حُمَيْدٌ الطَّوِيلُ، عَنْ أَنَسِ بْنِ مَالِكٍ " أَنَّ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ كَانَ " يُحِبُّ أَنْ يَلِيَهُ الْمُهَاجِرُونَ، وَالْأَنْصَارُ فِي الصَّلَاةِ لِيَأْخُذُوا عَنْهُ "..
Sayyiduna Anas bin Malik (may Allah be pleased with him) says that the Messenger of Allah (peace and blessings be upon him) liked the Muhajirun and the Ansar to be close to him in prayer, so that they could learn the prayer from him (peace and blessings be upon him).
Related hadith on this topic