It is narrated from Sayyiduna Abdullah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Do not revile Quraysh, for a scholar of theirs will fill the earth with knowledge. 'Allahumma innaka adhaqta awwalaha 'adhaban, aw wabalan, fa-adhiq akhiraha nawalan' (O Allah, You made the first of them taste punishment, or ruin; so now honour the last of them with generosity and bounty)."
Imam Abu Dawud al-Tayalisi recorded it with a da'if (weak) chain because of the weakness of Nadr bin Ma'bad. However, it has a shahid (supporting narration) from the hadith of Sayyiduna Ibn Abbas (may Allah be pleased with them both), which Imam al-Tirmidhi recorded and declared sahih (authentic), and that narration has already passed in the Book of Hajj, in the section on the virtues of Makkah.