It wasnarrated from Abu Sa'eed that the Messenger of Allah (ﷺ)said:
"AProphet will come accompanied by two men, and a Prophet willcomeaccompanied by three, and (some will come) with more or less thanthat. It will be said to him: 'Did you convey the message to yourpeople?' And he will say: 'Yes.' Then his people will be calledand itwill be said: 'Did he convey the message to you?' Theywill say: 'No.'Then it will be said: 'Who will bear witnessfor you?' He will say:'Muhammad and his nation.' So the nationof Muhammad will be calledand it will be said: 'Did this manconvey the message?' They will say:'Yes.' He will say: 'Howdid you know that?' They will say: 'OurProphet told us that theMessengers had conveyed the message, and webelieved him.' This iswhat Allah says: "Thus We have made you, a just(and the best)nation, that you be witnesses over mankind and theMessenger(Muhammad (ﷺ)) be a witness over you.'" [2:143]
English reference: Vol. 5, Book 37, Hadith 4284
Arabic reference: Book 37, Hadith 4425