Sunan Ibn Majah, Book 5, Hadith 175 (Ibn Majah 977)

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.”