It is narrated from Hazrat Anas (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) liked that the Muhajirun and Ansar stand together in prayer.