It is narrated from Abdullah ibn Umar (may Allah be pleased with them both) that when the Prophet ﷺ established brotherhood between the Ansar of Madinah and the Muhajirun of Makkah, Ali (may Allah be pleased with him) came weeping and said: O Prophet of Allah! You established brotherhood between the Companions and did not make me the brother of anyone. So the Messenger of Allah ﷺ said: O Ali, you are my brother in this world and the Hereafter.
Note: This brotherhood and bond of fraternity was established between the Muhajirun and the Ansar. An Ansari was made the brother of a Muhajir, but Ali and the Prophet ﷺ were both among the Muhajirun, so how could brotherhood be established between one Muhajir and another Muhajir?
Verification of the Hadith:
◈ Shaykh al-Albani and other scholars have declared it da’if (weak).
The narrator Jumay’ ibn Umayr in its chain of narration is da’if (weak).