It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said (this supplication): 'Allahumma adhaqta awwala Quraysh nakalan fa-adhiq akhirahum nawalan' (O Allah, You made the first of Quraysh taste punishment; now make the last of them taste Your bounty and favour).
It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) supplicated: 'Allahumma innaka adhaqta awa'ila Quraysh nakalan fa-adhiq akhirahum nawalan' (O Allah, You made the first ones of Quraysh taste exemplary punishment; now make the later ones of them taste Your bounty and favour).
It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) supplicated: 'Allahumma adhaqta awa'ila Quraysh nakalan, fa-adhiq awakhirahum nawalan' (O Allah, You made the first ones of Quraysh taste exemplary punishment; now make the later ones of them taste Your bounty and favour).
Imam al-Tirmidhi (may Allah have mercy on him) narrated it from Abu Kurayb, from Abu Yahya Abd al-Hamid bin Abd al-Rahman al-Himmani.
And also from Abd al-Wahhab bin al-Hakam al-Warraq, from Yahya bin Sa'id al-Umawi, with the same chain and a similar meaning, and he said: "This hadith is hasan sahih gharib."