On the Day of Resurrection, people will be gathered in groups, each nation following its prophet, saying, "So-and-so, intercede for us. So-and-so, intercede for us." until the intercession reaches the Prophet ﷺ. That is the day on which Allah will raise him to the Praiseworthy Station.
حدثني إسماعيل بن أبان حدثنا أبو الأحوص عن آدم بن علي قال سمعت
إن الناس يصيرون يوم القيامة جثا كل أمة تتبع نبيها يقولون يا فلان اشفع يا فلان اشفع حتى تنتهي الشفاعة إلى النبي ﷺ فذلك يوم يبعثه الله المقام المحمود