At-Tirmidhi reported a similar tradition on the authority of `Abu Hurairah (RAA), he said at its end, "And increase my knowledge. Praise be to Allah in all circumstances. I seek refuge in Allah from the state of those who will go to Hell." Its chain of narrators is good.
English reference: Book 16, Hadith 1609
Arabic reference: Book 16, Hadith 1566