A prophet's community called as witnesses against him
Nūḥ ﷺ is asked whether he conveyed, and his people deny it.
يُجَاءُ بِنُوحٍ يَوْمَ الْقِيَامَةِ فَيُقَالُ لَهُ هَلْ بَلَّغْتَ فَيَقُولُ نَعَمْ يَا رَبِّ. فَتُسْأَلُ أُمَّتُهُ هَلْ بَلَّغَكُمْ فَيَقُولُونَ مَا جَاءَنَا مِنْ نَذِيرٍ. فَيَقُولُ مَنْ شُهُودُكَ فَيَقُولُ مُحَمَّدٌ وَأُمَّتُهُ. فَيُجَاءُ بِكُمْ فَتَشْهَدُونَ
Nūḥ will be brought and asked: did you convey? He will say yes. His people will be asked: did he convey to you? They will say: no warner came to us.
The full narration
Narrated Abu Sa`id Al-Khudri:Allah's Messenger (ﷺ) said, "Noah will be brought (before Allah) on the Day of Resurrection, and will be asked, 'Did you convey the message of Allah?" He will reply, 'Yes, O Lord.' And then Noah's nation will be asked, 'Did he (Noah) convey Allah's message to you?' They will reply, 'No warner came to us.' Then Noah will be asked, 'Who are your witnesses?' He will reply. '(My witnesses are) Muhammad and his followers.' Thereupon you (Muslims) will be brought and you will bear witness." Then the Prophet (ﷺ) recited: 'And thus We have made of you (Muslims) a just and the best nation, that you might be witness over the nations, and the Apostle a witness over you
Source
Ṣaḥīḥ al-Bukhārī · 7349
- Agreed upon as authentic (al-Bukhārī / Muslim)