From Sahih Bukhari (Hadith 3801):
Narrated Anas bin Malik:The Prophet (ﷺ) said, "The Ansar are my near companions to whom I confided my private secrets, People will go on increasing but the Ansar will go on decreasing; so accept the good of the good-doers amongst them and excuse the wrong-doers amongst them
Reference: Bukhari 3801