Sayyiduna Anas (may Allah be pleased with him) narrates from Sayyiduna Usayd bin Hudayr (may Allah be pleased with him) that he said: The Messenger of Allah (peace and blessings be upon him) said: "The Ansar are my inner circle and my confidants. Indeed, the people will keep increasing while the Ansar will keep decreasing in number, so accept the good from those of them who do good, and overlook the faults of those of them who do wrong."
Imam al-Nasa'i (may Allah have mercy on him) narrated it from Muhammad bin Ma'mar (may Allah have mercy on him).
Also Ghundar (may Allah have mercy on him) narrated it from Shu'bah (may Allah have mercy on him) as a hadith of Sayyiduna Anas (may Allah be pleased with him), and did not mention Sayyiduna Usayd (may Allah be pleased with him).
Likewise Imam al-Bukhari and Imam Muslim (may Allah have mercy on them) narrated it through Bundar (may Allah have mercy on him), from Ghundar (may Allah have mercy on him).