Abu Saeed Khudri reported,

The Messenger of Allah ﷺ said, "Nuh will come forward with his nation, and Allah the Exalted will ask him, 'Did you deliver the message?'He will reply, 'Yes, my Lord.'Then Allah will ask his nation, 'Did he deliver the message to you?'They will answer, 'No, no prophet ever came to us.'Allah will then ask Nuh, 'Who will bear witness for you?'He will reply, 'Muhammad ﷺ and his nation.'So we will testify that he indeed delivered the message. That is the meaning of His saying, exalted is His mention, "And thus We have made you a middle nation, that you may be witnesses over mankind" [Baqarah 2:143]. And 'middle' here means just."

Bukhari 3339

Sahih

حدثنا موسى بن إسماعيل حدثنا عبد الواحد بن زياد حدثنا الأعمش عن أبي صالح

عن أبي سعيد قال

قال رسول الله ﷺ يجيء نوح وأمته فيقول الله تعالى هل بلغت فيقول نعم أي رب فيقول لأمته هل بلغكم فيقولون لا ما جاءنا من نبي فيقول لنوح من يشهد لك فيقول محمد ﷺ وأمته فنشهد أنه قد بلغ وهو قوله جل ذكره {وكذلك جعلناكم أمة وسطا لتكونوا شهداء على الناس} والوسط العدل

البخاري 3339صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Hadiths of the prophets
Chapter
His saying, "And We sent Nuh to his people"
Numbering
Darussalam 3339
Bukhari 3339