Wherever you may be, Allah will bring you all together... Qur'an 2:148

A hadith of Imam al-Sadiq (a) states that this verse is about Imam Mahdi (a) and his companions, who will gather together without prior appointment.