According to ʿAbd al-Rahman ibn Zayd ibn Aslam, the earlier Prophets were assembled for the Prophet ﷺ during the Ascension and he was able to address them.
The episode is employed in support of the Prophets’ barzakh life. It affirms a distinctive mode of existence and encounter, without claiming to specify all details of the unseen world.