The Messenger of Allah ﷺ used to like for the Muhajirun and the Ansar to stand directly behind him in prayer so that they could learn from him.
حدثنا ابن أبي عدي عن حميد
أن رسول الله ﷺ كان يحب أن يليه في الصلاة المهاجرون والأنصار ليحفظوا عنه
Its chain of transmission is sahih, it has already appeared at .