The Messenger of Allah ﷺ said, "Allah will gather the people on the Day of Resurrection..." This is part of the long hadith of intercession, in which it is mentioned, "But go to Nuh, the first messenger Allah sent."He continued, "So they will come to Nuh ﷺ, and he will say, 'I am not the one for that,' and he will recall the sin he committed and feel ashamed before his Lord because of it. But go to Ibrahim..."This is the wording of Muslim. In the wording of Bukhari, "They will come to him, and he will say, 'I am not the one for that.' He will recall his asking his Lord about something of which he had no knowledge and feel ashamed, and he will say, 'Go to the Friend of the Most Merciful...'"
قال رسول الله ﷺ: يجمع الله الناس يوم القيامة… في حديث الشفاعة الطويل وجاء فيه: ولكن ائتوا نوحا أول رسول بعثه الله قال فيأتون نوحا ﷺ فيقول لست هناكم فيذكر خطيئته التي أصاب فيستحيي ربه منها ولكن ائتوا إبراهيم… هذا لفظ مسلم، وفي لفظ البخاري: فيأتونه فيقول: لست هناكم ويذكر سؤاله ربه ما ليس له به علم فيستحي فيقول: اءتوا خليل الرحمن…