In the narration of Jurjani, may Allah have mercy on him, the Messenger of Allah ﷺ said: "O Allah! Forgive the Ansar and their sons and their grandsons."
Hadith Referenceالسنن المأثورة / باب عمارة الأرضين / 434
Hadith Takhrijسنن ترمذی، المناقب، باب في فضل الانصار و قریش، رقم: 3909